LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

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

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

Parts/Attachments: text/plain (24 lines)
Print Reply
Mime-Version:
1.0
Sender:
LISTSERV give-and-take forum <[log in to unmask]>
Date:
Tue, 25 Nov 2008 18:31:17 -0500
Reply-To:
LISTSERV give-and-take forum <[log in to unmask]>
Subject:
From:
Valdis Kletnieks <[log in to unmask]>
In-Reply-To:
Your message of "Tue, 25 Nov 2008 16:45:12 CST." <[log in to unmask]>
Content-Type:
text/plain; charset=us-ascii
Comments:
To: Mickey Chandler <[log in to unmask]> To: [log in to unmask]
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