LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Valdis Kletnieks <[log in to unmask]>
Tue, 25 Nov 2008 18:31:17 -0500
text/plain (24 lines)
On Tue, 25 Nov 2008 16:45:12 CST, Mickey Chandler said:

> The Makefile has "CFLAGS_Linux=-lldap -lldap nooci.o -lodbc" in it and

Given that line...

> I've tried to rebuild three times and still come up with that, when I
> think that there should be a link to one of these:
>
> /usr/lib/libmyodbc3-3.51.12.so
> /usr/lib/libmyodbc3.so
> /usr/lib/libmyodbc3_r-3.51.12.so
> /usr/lib/libmyodbc3_r.so

You probably won't get links to those libraries.

CFLAGS_Linux="-lldap -lldap nooci.o -lmyodbc3"

has a much better chance of winning.  Note that last library name - you want
a different library, you have to *tell* it, the linker isn't a mind reader :)

Oh, and if you want the _r thread-safe variants, you of course should use
"-lmyodbc3_r" instead.  Again, it's not a mind-reader.

ATOM RSS1 RSS2