[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-coders
Subject: Re: shared libraries - do I have a problem??
From: "Dan Miller (Kromos)" <dan () kromos ! com>
Date: 2008-02-11 18:27:18
Message-ID: 001401c86cdb$bbd56060$a801a8c0 () derelict
[Download RAW message or body]
Just for everyone's future reference, I did solve this problem earlier.
First, I typed the wrong path in my example below; my library is actually in
/usr/lib/dlsllib.so.
I found, though, ./configure didn't like me specifying a library file whose
name did NOT begin with "lib".
When I created a symlink from libip3.so to dlsllib.so, the --with-libs=-lip3
worked fine.
Dan
----- Original Message -----
From: "Dave Shield" <D.T.Shield@liverpool.ac.uk>
To: "Dan Miller (Kromos)" <dan@kromos.com>
Cc: <net-snmp-coders@lists.sourceforge.net>
Sent: Monday, February 11, 2008 03:40
Subject: Re: shared libraries - do I have a problem??
> On 22/01/2008, Dan Miller (Kromos) <dan@kromos.com> wrote:
>> However, I *do* need to link in one of my *own* shared libraries!! So I
>> tried using with-libs:
>> ./configure --with-mib-modules=ip3Mib --with-libs=/usr/src/dlsllib.so
>
> Try installing your library into a sensible location
> (/usr/local/lib/libdlsl.so)
> and then use
> --with-libs=-ldlsl
>
> Dave
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic