LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-03-2008, 07:09 AM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 608

Rep: Reputation: 34
make gives me /usr/bin/ld: cannot find -lirc while making php


HI

I have a Redhat 3EL machine and I am tring to make PHP 5.0.5. while trying to runn make it gives /usr/bin/ld: cannot find -lirc collect2: ld returned 1 exit status and stops

Configuration command is
./configure prefix=--with-apxs2=/usr/local/apache2/bin/apxs --with-mcrypt --with-mysql --with-gd --enable-ftp --with-ldap --with-pear --enable-sigchild --enable-sigchild=/usr/local/apache2/conf --with-zlib-dir=/usr/local/zlib-1.2.3

Can someone tell me what is going on


Regards

Last edited by procfs; 07-03-2008 at 07:40 AM.
 
Old 07-03-2008, 08:50 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
See if you can edit the configuration file and make it
/usr/bin/ld -l -i -r -c
 
Old 07-03-2008, 09:43 AM   #3
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 608

Original Poster
Rep: Reputation: 34
Hi w3bd3vil

Thanks for replying

There is not entry as /usr/bin/ld in the configure

By the way the just befor the eror I get is as follows

end/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend_default_classes.lo Zend/zend_reflection_api.lo Zend/zend_execute.lo sapi/apache2handler/mod_php5.lo sapi/apache2handler/sapi_apache2.lo sapi/apache2handler/apache_config.lo sapi/apache2handler/php_functions.lo main/internal_functions.lo -lmysqlclient -lmcrypt -lltdl -lldap -llber -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -ldl -lm -lnsl -lirc -lclntsh -lxml2 -lz -lm -lxml2 -lz -lm -o libphp5.la
/usr/bin/ld: cannot find -lirc
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
[root@webcare php-5.0.5]#

Can you make any sence of this it talks about some mysqlclient just befor he crashs

Regards and many thanks
 
Old 07-04-2008, 01:57 AM   #4
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
I had given you a lousy thing to try.

Anyhow,
Quote:
make: *** [libphp5.la] Error 1

Here is the quickfix:

Before compiling, please execute the following commands from a shell :

cd /usr/lib/mysql
rename .a .a_old *.a
rename .la .la_old *.la


After compiling, please execute the following commands :

cd /usr/lib/mysql
rename .a_old .a *.a_old
rename .la_old .la *.la_old
 
Old 07-04-2008, 05:42 AM   #5
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 608

Original Poster
Rep: Reputation: 34
Its oky but why is it lousyz, and I did tried renaming but it did not work

Last edited by procfs; 07-04-2008 at 05:44 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make error: /usr/bin/ld: cannot find -lXext ryedunn Linux - Software 20 11-16-2011 04:28 AM
cluster on rhel5 make giving error /usr/bin/ld: cannot find -ldlm xxx_anuj_xxx Linux - Software 3 05-18-2008 11:15 AM
making files available in /usr/local/bin and /usr/sbin reakinator Linux - Newbie 1 10-14-2006 06:09 PM
/usr/bin/ld: cannot find -lqt, make xconfig tuxandme Linux - Software 5 06-19-2005 02:04 PM
when running make get: usr/bin/ld: cannot find -lart_lgpl_2 nigma Linux - Software 0 02-12-2004 10:22 PM


All times are GMT -5. The time now is 08:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration