/usr/bin/ld: cannot find -lirc
| From: | Alexander Gillis | Date: | Fri, 17 Jun 2005 19:38:48 +0000 |
| Subject: | /usr/bin/ld: cannot find -lirc | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-16307@lists.php.net to get a copy of this message | ||
HI Folks:
I've searched high and low for what the ld directive -lirc is for - can you
please provide any help? Thank you for any information.
The machine is running Centos 4, attempting a fresh install of apache 2.0.54
and php 5.04.
p.s. I tried just taking -lirc out of the Makefile, but then get an error
during make-> "libclntsh.so: file not recognized: File format not
recognized"
CONFIGURE: './configure' '--with-apxs2=/usr/local/apache/bin/apxs'
'--with-mysql' '--enable-force-cgi-redirect' '--with-xsl'
'--prefix=/usr/local/apache/php'
'--with-oci8-instant-client=/usr/src/oracle/instantclient10_1'
'--enable-trans-sid' '--with-zlib' '--enable-sigchild'
'--with-tidy'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/include/libxml2 -I/usr/include/mysql
-I/usr/src/oracle/instantclient10_1/sdk/include
LDFLAGS: -Wl,-rpath,/usr/local/lib -L/usr/local/lib
-Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql
-Wl,-rpath,/usr/local/packages/icc_remote/7.1.032/compiler70/ia32/lib
-L/usr/local/packages/icc_remote/7.1.032/compiler70/ia32/lib
-Wl,-rpath,/usr/src/oracle/instantclient10_1
-L/usr/src/oracle/instantclient10_1
LIBS: -lmysqlclient -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2
-lz -lm -ldl -lm -lnsl -lirc -lclntsh -lxml2 -lz -lm
DLIBS:
SAPI: apache2handler
PHP_RPATHS: /usr/local/lib /usr/lib/mysql
/usr/local/packages/icc_remote/7.1.032/compiler70/ia32/lib
/usr/src/oracle/instantclient10_1
uname -a: Linux gambit.xander.com 2.6.9-5.0.3.ELsmp #1 SMP Sat Feb 19
19:38:02 CST 2005 i686 i686 i386 GNU/Linux
gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib
-Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql
-Wl,-rpath,/usr/local/packages/icc_remote/7.1.032/compiler70/ia32/lib
-L/usr/local/packages/icc_remote/7.1.032/compiler70/ia32/lib
-Wl,-rpath,/usr/src/oracle/instantclient10_1
-L/usr/src/oracle/instantclient10_1 conftest.c -lmysqlclient -lz -lresolv
-lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -ldl -lm -lnsl -lirc -lclntsh
-lxml2 -lz -lm 1>&5
/usr/bin/ld: cannot find -lirc
collect2: ld returned 1 exit status