> I am still having trouble with this. Here is what I
> have done....
> 
> Downloaded and installed perl / mysql / gcc / make

Do yourself a favor, get Sun Studio compilers. They're gratis, generate up to 
80% faster code, support Solaris (i86pc and sparc) and Linux, and have 
optimization capabilities GCC can't even touch.

> And ${LD_LIBRARY_PATH} as :-
> [b]/usr/local/mysql/lib/mysql/:/usr/local/lib[/b]

OK, as soon as you have to resort to setting LD_LIBRARY_PATH, you know you've 
got trouble.

Setting LD_LIBRARY_PATH is a major hack, and what it means is that the stuff 
hasn't been linked properly to begin with.

Instead of setting LD_LIBRARY_PATH, you'll have to set -R/path/to/lib along 
with -L/path/to/lib in CFLAGS and CXXFLAGS variables.

If that doesn't work, then the build system is a brain dead hack. If that's the 
case, you've basically have two options:

a) try to fix the build system

b) ditch the whole thing, it's a hack, and such things are usually not worth 
one's time.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to