On 03.06.12 15:53, gene heskett wrote:
> Eagle is bing a pita about upgrading, I have several copies of
> libpng14.so.14 on the system, but the installer can't find them even
> when added to ld.so.config.d.  Grump!

Based on that limited information, Gene, I can only offer a couple of
rounds from the shotgun, to try to bring the varmint down:

a) On a ubuntu box, it is /etc/ld.so.conf that we'd update, then run 
   "sudo ldconfig -v" to update the library cache. Even if you're on a
   different distro, the basic workings of ld.so should be rather
   similar.

   If you've put the .so into /lib or /usr/lib, then just running
   ldconfig without adding anything to ld.so.conf will suffice. (OK,
   some distros may run ldconfig at boot, but a grep of /etc/rc* does
   not show that on mine.)

   (I see that Eagle did at first fail to find /lib/libc.so.6 for me.
   Just putting a copy in /lib and running ldconfig worked for me,
   confirming the shortcut.)

b) If that doesn't suit, then there's another way to skin the cat:
   I've not had the problem with Eagle, but Bitscope was similarly
   blind when I first installed it. To help it find the needed library
   (libborqt-6.9-qt2.3.so in that case), I provided a signpost to the
   directory it lives in:

alias bitscope='export LD_LIBRARY_PATH=/usr/lib/bitscope:$LD_LIBRARY_PATH ; \
                /opt/bitscope/dso/Dso &'

   i.e. Setting the LD_LIBRARY_PATH was a way to make it go. (It is when
   the .so has been compiled with LD_LIBRARY_PATH set, that it is also
   needed at runtime.)

Hopefully that lets you bring home a pelt.

Erik

-- 
Hacker: Someone skilled in computer programming (good guy).
Cracker: A hacker who uses his skills to crack software (bad guy).


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to