>From sfwnv-discuss-bounces at opensolaris.org Tue Apr 22 01:02:26 2008 >> - Why does it need "LD_LIBRARY_PATH=/opt/SUNWspro/lib", that seems odd? >> > >This was done as a temporary measure to get round the mysql_config >--libs problem. Basically it needs to find libcrun in the linker library >path, at run time is uses the /usr/lib/libcrun.so but I was concerned >about trying to coerce the linker to look into /usr/lib at build time.
The C++ compiler should already handle finding its libCrun link there. Are you using CC to link or ld directly? Don't forget -norunpath too if you're linking C++ stuff. BTW you shouldn't hardcode /opt/SUNWspro - if you _really_ need to find the compiler you need to do it via the variables in Makefile.master (probably $(SPRO_VROOT)/lib). Though I'd be surprised if you really need to, it really sounds like something is linking with ld but should be using CC. Mike