LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-15-2015, 10:55 AM   #1
rookie5
LQ Newbie
 
Registered: Aug 2015
Posts: 10

Rep: Reputation: Disabled
errors when install httpd (libtool: link: cannot find the library /httpd-2)


Hi guys,

i need help, i been glued to my screen the whole day trying to solve this error.

i keep getting the below error when i try to install httpd-2.2.15.tar

/bin/sh /httpd-2.2.15/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/httpd-2.2.15/srclib/apr-util/include -I/httpd-2.2.15/srclib/apr-util/include/private -I/httpd-2.2.15/srclib/apr/include -I/httpd-2.2.15/srclib/apr-util/xml/expat/lib -version-info 3:9:3 -o libaprutil-1.la -rpath /usr/local/apache2//lib buckets/apr_buckets_eos.lo buckets/apr_buckets_flush.lo buckets/apr_buckets_pool.lo buckets/apr_buckets_socket.lo buckets/apr_buckets_alloc.lo buckets/apr_buckets_mmap.lo buckets/apr_buckets_pipe.lo buckets/apr_buckets_heap.lo buckets/apr_buckets_refcount.lo buckets/apr_buckets.lo buckets/apr_buckets_simple.lo buckets/apr_brigade.lo buckets/apr_buckets_file.lo crypto/getuuid.lo crypto/apr_md5.lo crypto/apr_sha1.lo crypto/uuid.lo crypto/apr_md4.lo dbm/apr_dbm_sdbm.lo dbm/apr_dbm.lo dbm/sdbm/sdbm_lock.lo dbm/sdbm/sdbm.lo dbm/sdbm/sdbm_pair.lo dbm/sdbm/sdbm_hash.lo encoding/apr_base64.lo hooks/apr_hooks.lo ldap/apr_ldap_stub.lo ldap/apr_ldap_url.lo misc/apu_dso.lo misc/apr_thread_pool.lo misc/apr_date.lo misc/apr_queue.lo misc/apu_version.lo misc/apr_reslist.lo misc/apr_rmm.lo memcache/apr_memcache.lo uri/apr_uri.lo xml/apr_xml.lo strmatch/apr_strmatch.lo xlate/xlate.lo dbd/apr_dbd.lo -lrt -lcrypt -lpthread
/httpd-2.2.15/srclib/apr-util/xml/expat/lib/libexpat.la /httpd-2.2.15/srclib/apr/libapr-1.la -lrt -lcrypt -lpthread
libtool: link: cannot find the library `/httpd-2.2.15/srclib/apr-util/xml/expat/lib/libexpat.la' or unhandled argument `/httpd-2.2.15/srclib/apr-util/xml/expat/lib/libexpat.la'
make[2]: *** [libaprutil-1.la] Error 1
make[2]: Leaving directory `/httpd-2.2.15/srclib/apr-util'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/httpd-2.2.15/srclib'
make: *** [install-recursive] Error 1

please help
 
Old 08-15-2015, 01:32 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
cannot find the library `/////libexpat.la'


httpd-2.2.15.tar.gz is a 5 year old version. Unsafe today.

The updated "httpd-2.2.15" : httpd-2.2.15-45.sl6.src.rpm ( 22 Jun 2015 )
ftp://ftp.redhat.com/redhat/linux/en...45.el6.src.rpm
Security, etc. updates :
The 109 patches included in the source package httpd-2.2.15-45.el6.src.rpm


-

Last edited by knudfl; 08-15-2015 at 01:43 PM.
 
1 members found this post helpful.
Old 08-16-2015, 02:31 AM   #3
rookie5
LQ Newbie
 
Registered: Aug 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
thanks knudfl, can you please show me how to run this, Im still a rookie
 
Old 08-16-2015, 04:29 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
? Which "Linux OS" are you using ? Name and version, please.

http://www.linuxquestions.org/linux/...Ask_a_Question
http://www.catb.org/~esr/faqs/smart-questions.html
.. I.e. your OS must be specified by every question.
 
Old 08-16-2015, 06:11 AM   #5
rookie5
LQ Newbie
 
Registered: Aug 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thannks Knudfl,I will keep that in mind next time. I am running Centos 6.5
 
Old 08-16-2015, 07:08 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #5.

Installing httpd-2.2.15-45 on CentOS 6.x :

# yum install httpd
 
Old 08-16-2015, 07:17 AM   #7
rookie5
LQ Newbie
 
Registered: Aug 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi,'

Im still getting an error, please see below.

[root@localhost ~]# yum install httpd
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.bitco.co.za
* centosplus: mirror.bitco.co.za
* contrib: mirror.bitco.co.za
* extras: mirror.bitco.co.za
* remi-safe: remi.check-update.co.uk
* updates: mirror.bitco.co.za
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.2.15-45.el6.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================== ============================================================================================
Package Arch Version Repository Size
==================================================================================================== ============================================================================================
Installing:
httpd x86_64 2.2.15-45.el6.centos base 829 k

Transaction Summary
==================================================================================================== ============================================================================================
Install 1 Package(s)

Total download size: 829 k
Installed size: 2.9 M
Is this ok [y/N]: y
Downloading Packages:
httpd-2.2.15-45.el6.centos.x86_64.rpm | 829 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : httpd-2.2.15-45.el6.centos.x86_64 1/1
Error unpacking rpm package httpd-2.2.15-45.el6.centos.x86_64
error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename
Verifying : httpd-2.2.15-45.el6.centos.x86_64 1/1

Failed:
httpd.x86_64 0:2.2.15-45.el6.centos

Complete!
[root@localhost ~]#
 
Old 08-16-2015, 12:41 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #7.

Error output must be shown in CODE TAGS : [code]code text, or error text[/code]
http://www.linuxquestions.org/questi....php?do=bbcode

Please edit your posts.
Editing post #7 : The 'Edit' button in post #7.

-

Last edited by knudfl; 08-16-2015 at 12:42 PM.
 
  


Reply



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
Install Centos issue: in httpd and ftpd can't find install.img manuce Linux - Newbie 5 05-25-2013 06:34 PM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 11:26 AM
libtool: link: cannot find library jrdioko Linux - Software 0 01-13-2006 10:23 PM
Problem installing - libtool: link: cannot find the library `__LIBGL_PATH__/libGL.la' sparX CG Linux - Software 4 11-14-2005 05:45 PM
make error "libtool: link: cannot find the library `' " jdolluc Linux - Software 2 10-15-2003 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:04 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
Open Source Consulting | Domain Registration