cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Run-time error with ldd

oneeyeman1
Participant
0 Likes
14

Hi, ALL,

 

Since I was told I'm able to copy the helpers file from the samples directory to my own project - I did just that,

 

Next I modified my Makefile.am to be:

 

[code]

## Process this file with automake to produce Makefile.in


lib_LTLIBRARIES = \
libsqlany.la

libsqlany_la_SOURCES = \
database_sqlany.cpp \
database_sqlany.h \
sacapidll.c \
sacapidll.h \
sacapi.h

libsqlany_la_CXXFLAGS = -I../../dbinterface \
-DUNICODE \
-I@SQLANY@/sdk/include

libsqlany_la_LDFLAGS =
-L@SQLANY@/lib64 -ldbcapi

[/code]

where SQLANY variable comes from the configure.ac as "[SQLANY=$(set | $GREP -E 'SQLANY[0-9]{1,}' | $AWK -F= '{ print $2}')]".

 

The compilation/linking finished successfully, however when running I got following error

 

oneeyeman1_0-1784424317645.png

I don't understand this. The function is definitely there and it is compiled in the library.

 

So what is happening?

 

Thank you.

 

 

 

 

 

Accepted Solutions (0)

Answers (0)