Hi,

I'm having issues compiling PHP on OpenSolaris. When I run my config script I 
get this:


gmake: *** No rule to make target `distclean'.  Stop.
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... egrep
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for gcc... gcc
checking whether the C compiler (gcc -fast -xipo -xtarget=generic 
-I/usr/sfw/include -L/opt/coolstack/mysql_32bit/lib/mysql -L/opt/coolstack/lib 
-L/usr/lib -lmysqlclient -liconv -lreadline -lcurses -lCstd -lCrun) works... no
configure: error: installation or configuration problem: C compiler cannot 
create executables.



When I try and run that gcc call, I get this:
gcc -fast -xipo -xtarget=generic -I/usr/sfw/include 
-L/opt/coolstack/mysql_32bit/lib/mysql -L/opt/coolstack/lib -L/usr/lib 
-lmysqlclient -liconv -lreadline -lcurses -lCstd -lCrun
ld: fatal: library -lCstd: not found
ld: fatal: library -lCrun: not found
ld: fatal: File processing errors. No output written to a.out
collect2: ld returned 1 exit status


I can't for the life of me figure out how to get gcc to find libCstd or 
libCrun. They are in /usr/lib, specified on the command line and located as 
such:
/usr/lib/libCrun.so.1
/usr/lib/libCstd.so.1

any ideas?

Mike
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to