MySQL Forums
Forum List  »  Connector/ODBC

Can't find dependent library ""
Posted by: Julius Estonia
Date: July 11, 2017 02:28AM

Hi, I'm having problem in running the "make" command for one of my program in HP-UX. The system stated that:

ld: Can't find dependent library ""
Fatal error.
*** Error exit code 1


The program need since it is needed by the I already run test the UnixODBC connection to MySQL using MySQL Connection ODBC and it works fine. And I also make sure that the lib path to be in SHLIB_PATH. However, it still shows the following error. Now, I'm running out of idea as to what make the to be undetected by the system.

Following is part of the code inside Makefile.

CC = cc -Ae -mt +DSblended +DD64 -Dinline= -Wl,+s -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE +z

CFLAGS = +O2 \

LDFLAGS = -s $(EXTRA_LDFLAG) /usr/local/lib/

# Enter the name of your ODBC API library below if you want to relink an
# AcuSQL-ENABLED runtime or the AcuSQL precompiler:
ACUSQL_ODBC_LIB = /mysql/mysql-con/mysql/lib/

# Use the following two lines for an AcuSQL-ENABLED runtime:

runcbl: amain.o $(SUBS)
$(CC) $(EXEC_LDFLAG) $(LDFLAGS) -o $@ amain.o $(SUBS) \
libruncbl$(BITS).a $(LIBS) $(SYS_LIBS) $(SYS_C_LIBS) \

Thanks in advance for the reply.

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.