httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasmus Lerdorf <ras...@lerdorf.on.ca>
Subject Re: apxs problem
Date Thu, 19 Nov 1998 14:34:13 GMT
> Ok, I've tried to add this functionality to apxs.pl/apxs.8.
> The patch is appended. Please try it out and give me your opinion.

I applied your patch.  Slight problem:

/usr/local/apache/sbin/apxs -c -o libphp3.so
-Wl,-rpath,/usr/local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient
-L/usr/local/ldap/lib -lldap -llber mod_php3.c libmodphp3-so.a
regex/libregex.a -lgdbm -Wl,-rpath,/usr/local/lib/mysql
-L/usr/local/lib/mysql -lmysqlclient -L/usr/local/ldap/lib -lldap
-llber -lttf -lgd -lm -ldl -lcrypt -lnsl  -lresolv

gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE
-I/usr/local/apache/include  -c mod_php3.c

ld -Bshareable -o libphp3.so mod_php3.o libmodphp3-so.a regex/libregex.a
-lgdbm -Wl,-rpath,/usr/local/lib/mysql -L/usr/local/lib/mysql
-lmysqlclient -L/usr/local/ldap/lib -lldap -llber -lttf -lgd -lm -ldl
-lcrypt -lnsl -lresolv -rpath,/usr/local/lib/mysql -L/usr/local/lib/mysql
-L/usr/local/ldap/lib -lmysqlclient -lldap -llber 

ld: unrecognized option `-Wl,-rpath,/usr/local/lib/mysql'
apxs:Break: Command failed with rc=65536
make: *** [libphp3.so] Error 1


The "-Wl,-rpath," is not being turned into the "-rpath" option that ld
needs.

-Rasmus


Mime
View raw message