Re: Trouble Creating Shared Libraries

2009-09-21 Thread Sayan Chaliha
Hey Tom, Okay, I managed to compile without the perl modules. I have built libnetsnmpagent. is there any special compiler flags that I need to use? I'm using this to compile my app: Wl ./lib/out/debug64/netsnmp/lib64 -lnetsnmp -lnetsnmpagent -lcrypto I'm still stuck with the same error. Did I do so

Re: Trouble Creating Shared Libraries

2009-09-21 Thread Sayan Chaliha
Hi Thomas, Thanks for the info... now I realize what the actual problem is. I'm having trouble building the net-snmp-5.4.2.1 libs from source. Here's a list of configure switches that I used: --prefix=/root/workspace/sayan/MONyog/lib/out/linux/debug64/netsnmp --exec-prefix=/root/workspace/sayan/MO

Re: Trouble Creating Shared Libraries

2009-09-21 Thread Thomas Anders
Sayan Chaliha wrote: > undefined reference to netsnmp_transport_open_client This symbol is in libnetsnmpagent. Either you didn't properly link with it or you linked with an older version of it (that may live somewhere else on your system). +Thomas -

Re: Trouble Creating Shared Libraries

2009-09-21 Thread Sayan Chaliha
I'm sorry, I meant: undefined reference to netsnmp_transport_open_client On Mon, Sep 21, 2009 at 4:18 PM, Sayan Chaliha wrote: > Hi, > > I'm creating a software package (RPM), and I do not want it to have any > dependencies. That's why I tried to include the net-snmp-5.4.2.1 libraries > as shared

Trouble Creating Shared Libraries

2009-09-21 Thread Sayan Chaliha
Hi, I'm creating a software package (RPM), and I do not want it to have any dependencies. That's why I tried to include the net-snmp-5.4.2.1 libraries as shared libraries within my package. But, while building the RPM, I keep getting the following error: ld: Undefined reference to 'netsnmp_transpo