Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 08-16-2005, 11:21 PM   #1
Registered: Jul 2004
Location: India
Distribution: RH, RHEL, CentOS
Posts: 46

Rep: Reputation: 15
FreeBSD PHP5 ports error - is not a valid libtool archive


I am install PHP5 from ports on FreeBSD 5.4.

Ports have been updated using cvsup before installing PHP.

I am getting following error.

===> Installing for php5-5.0.4_2
===> php5-5.0.4_2 depends on file: /usr/local/sbin/apxs - found
===> php5-5.0.4_2 depends on executable: pkg-config - found
===> Generating temporary packing list
===> Checking if lang/php5 already installed
Installing PHP SAPI module: apache2handler
/usr/local/share/apache21/build/ SH_LIBTOOL='/usr/local/build-1/libtool' /usr/local/libexec/apache21
/usr/local/build-1/libtool --mode=install cp /usr/local/libexec/apache21/
libtool: install: `' is not a valid libtool archive
Try `libtool --help --mode=install' for more information.
apxs:Error: Command failed with rc=65536
*** Error code 1

Stop in /usr/ports/lang/php5/work/php-5.0.4.
*** Error code 1

Stop in /usr/ports/lang/php5.
Installed packages in the server are

server18# pkg_info
apache-2.1.4 Version 2.1 of Apache web server with prefork MPM.
autoconf-2.59_2 Automatically configure source code on many Un*x platforms
bison-1.75_2 A parser generator from FSF, (mostly) compatible with Yacc
cvsup-without-gui-16.1h_2 General network file distribution system optimized for CVS
expat-1.95.8_3 XML 1.0 parser written in C
ezm3-1.2 Easier, more portable Modula-3 distribution for building CV
gettext-0.14.1 GNU gettext package
gmake-3.80_2 GNU version of 'make' utility
help2man-1.35.1 Automatically generating simple manual pages from program o
libiconv-1.9.2_1 A character set conversion library
libtool-1.5.10_1 Generic shared library support script (version 1.5)
libxml2-2.6.20 XML parser library for GNOME
linux_base-8-8.0_6 Base set of packages needed in Linux mode (only for i386)
lynx-2.8.6d13 A non-graphical, text-based World-Wide Web client
m4-1.4.3 GNU m4
p5-gettext-1.03 Message handling functions
perl-5.8.6_2 Practical Extraction and Report Language
pkgconfig-0.17.2 A utility to retrieve information about installed libraries
python-2.4.1_3 An interpreted object-oriented programming language
Apache 2 is installed, now need PHP to get started.

How do i solve the problem ?


Old 08-18-2005, 11:09 AM   #2
Registered: Mar 2005
Location: maryland
Distribution: NetBSD
Posts: 60

Rep: Reputation: 15
try reinstalling apache
Old 08-18-2005, 11:27 AM   #3
Registered: Jul 2004
Location: India
Distribution: RH, RHEL, CentOS
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks for the help. It seems the problem was with my port. I updated the ports and reinstalled apache. Now i got php5 installed with out any problem.


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
PHP5 + Apache 2.x : /usr/local/modules/ Undefined symbol "apr_table_set" Ephracis Linux - Software 6 10-01-2010 01:26 PM
libtool error xushi Slackware 4 01-27-2009 03:28 PM
Error in PHP 5.0.5 and Apache 1.3.34 - Cannot load jun_tuko Linux - Software 7 01-06-2008 12:12 AM
libtool link error tibbar66 Linux - Newbie 1 04-09-2005 06:14 PM
/usr/lib/ is not a valid libtool archive pradsy90 Linux - Security 2 03-29-2004 05:22 PM > Forums > Other *NIX Forums > *BSD

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

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