Re: Problems geting php*.src.rpm to compile with java support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 15 Sep 2003 23:07:32 +1000, Serg B. wrote:

> This is the exact error I am getting::
> /************* START *************/
> ...
> -lpdf -lncurses -ljava -lcrypt -lpam -lgmp -lgd -lfreetype -lpng -lz -ljpeg 
> -lz -lm -lz -lxml2 -ldb -lgdbm -lcurl -lcrypto -lssl -lz -ldl -lresolv 
> -lcom_err -lk5crypto -lkrb5 -lgssapi_krb5 -lcrypto -lssl -lcurl -lbz2 -lz 
> -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lttf -lfreetype -lpng -ljpeg -lz 
> -lnsl -lresolv -lcrypt
> /usr/bin/ld: cannot find -ljava
> collect2: ld returned 1 exit status

Again, the most interesting part of the output is missing.

> I also tryed adding -L/... to the php.spec file::
> 
> LDFLAGS="-L/usr/kerberos/%{_lib}:/usr/local/javasdk/jre/lib/i386:/usr/local/javasdk/jre/lib/i386/server:/usr/local/javasdk/jre/bin";

It's wrong. 

  LDFLAGS="-L/usr/kerberos/%{_lib} -L/usr/yourpath/to/javalibs"

Don't reply at the top, and please trim your quotes.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/ZdpN0iMVcrivHFQRAnx0AJ4hiDoV3sIdfxYc09LwO9kSKNB72ACgiFhX
vyIdEmg6dX95/B1sIMEduvQ=
=eEF/
-----END PGP SIGNATURE-----


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux