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 or directory



First, thanks for your answer again !

cp -a /opt/sfw/gcc-3.2/lib/*.so* /lib

I would like to avoid this as that's really ugly of course it would be the easiest way but we have standards to respect on our production machines and this is not allowed.


If you don't want to go there, you'll have to find the options for Sun's
ld to put something like "rpath" in.  And pass that to g++ (-Wl,option)
something like the following (for gcc + linux ld)

g++ -Wl,rpath=/opt/sfw/gcc-3.2/lib -o hfaxd ....

Ok right that's it I need the "-Wl,rpath=/opt/sfw/gcc-3.2/lib" part, is that correct if I set the following variable like this before compiling HylaFAX:


export LDFLAGS="-Wl,rpath=/opt/sfw/gcc-3.2/lib"

Will that work ?

Regards

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



____________________ 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