Re: Shared Library Problem....

"Nikos Balkanas" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <005501c97107$3bfebdb0$02b2a8c0@tardis>
Yes, that should be it. I am riding Solaris for the past year or so, and since there is no ld.so.conf or ldconfig here, I've forgotten all these...

BR,
Nikos
  ----- Original Message ----- 
  From: Patrick J Kobly 
  To: Nikos Balkanas 
  Cc: maksud ; [email protected] 
  Sent: Wednesday, January 07, 2009 9:41 PM
  Subject: Re: Shared Library Problem....


  I suspect he was saying that he added /usr/local/lib to /etc/ld.so.conf.  This is (one of) the correct way(s) to do this.

  /usr/local/lib is not a trusted library path for the dynamic linker/loader (at least in Fedora).  Adding it to ld.so.conf forces the linker/loader to consider the libraries in /usr/local/lib before /usr/lib and /lib

  PK

  Nikos Balkanas wrote: 
    Glad could help. However I think it would be better to modify your LD_LIBRARY_PATH. Putting libraries in /etc (if I read you correctly) is not recommended in Unix. Furthermore /usr/local/lib is a very important path and you will need it again.

    BR,
    Nikos
      ----- Original Message ----- 
      From: maksud 
      To: Nikos Balkanas 
      Cc: [email protected] 
      Sent: Wednesday, January 07, 2009 6:23 PM
      Subject: Re: Shared Library Problem....


      Thanks. You had let me to the solution. However I did not modify the LD_LIBRARY_PATH. My fedora distro had a preinstalled net-snmp libraries. I just added /usr/local/lib in /etc/.. some folder. and run ldconfig to refresh the cache. Now it is running without any problem. 


      Thanks 
      Maksud


  -- 



  Patrick Kobly, CISSP



  T: 403-274-9033

  C: 403-463-6141

  F: 866-786-9459

  56 388 Sandarac Dr NW
  Calgary, Alberta
  T3K 4E3
  http://www.kobly.com
  <!--[if !supportLineBreakNewLine]-->
  <!--[endif]-->

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
(unnamed) (image/gif, 1.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.