HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] fatal: libstdc++.so.5: open failed: No such file o



> >You need to make sure that the shared library is somewhere which ld.so
> >will load.
> >
> >I'm not sure how this works on solaris x86.  Find where the
> >libstdc++.so.5 is (probably installed with the gcc package), and make
> >sure that directory is on that ld.so looks for (/etc/ld.so.conf, or
> >simliar).
> 
> 
> This library is located in /opt/sfw/gcc-3.2/lib
> 
> Unfortunately on Solaris there is no such thing like /etc/ld.so.conf as in 
> Linux. In Solaris I need somehow to tell at the compilation time to the 
> binary that it has to look in /opt/sfw/gcc-3.2/lib for libraries but with 
> HylaFAX I don't know how to do that, I think I need to modify the Makefiles 
> or something like that but I have no knowledge of programming.
> 
> Any other ideas ??
> 
> Regards

First, print out and save the current shared library configuration:

	crle

Then, add your gcclib directory to the system default search path:

	crle -u -l /opt/sfw/gcc-3.2/lib -s /opt/sfw/gcc-3.2/lib
	crle

You probably have LD_LIBRARY_PATH pointing to your gcclib directory for
your login session, but hfaxd doesn't have it set.



____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxxxxx*




Project hosted by iFAX Solutions