Sayid Munawar
2004-Jun-20 12:36 UTC
libtool problem or SMP problem or port problem or what?
Hello, I have a weird problem on my stable freebsd. The system is an SMP FreeBSD with dual PIII 677. I searched many lists, but found no answer. The problem start when i tried to compile PHP with almost YES in options (included below), the error was: libtool: link: cannot find the library `' <<---------- the error begins here *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.3.7. *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Stop in /usr/ports/lang/php4. [root@elf php4]# Then when i tried to make clean, it displayed: [root@elf XFree86-4-libraries]# make clean "/usr/ports/Mk/bsd.autotools.mk", line 2: USE_LIBTOOL deprecated: replace with USE_LIBTOOL_VER=... So.. i decided to use the USE_LIBTOOL_VER=15 in my /etc/make.conf. But when i try the "make clean" again.. the servers flooded with "make" process until max proc reached, then died.... they were more than 1240 make process !!! [root@elf XFree86-4-libraries]# make clean USE_LIBTOOL_VER=15 Cannot fork: Resource temporarily unavailable <<--- the system started "hang" Cannot fork: Resource temporarily unavailable "/usr/ports/Mk/bsd.autotools.mk", line 2: USE_LIBTOOL deprecated: replace with USE_LIBTOOL_VER=... here is the dmesg output: maxproc limit exceeded by uid 0, please see tuning(7) and login.conf(5). here is the "top" output: 1241 processes:2 running, 1239 sleeping CPU states: 27.1% user, 0.0% nice, 30.7% system, 0.9% interrupt, 41.3% idle Mem: 144M Active, 20M Inact, 75M Wired, 8924K Cache, 35M Buf, 656K Free Swap: 496M Total, 69M Used, 427M Free, 13% Inuse, 10M Out PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 65205 root 35 0 3348K 2184K CPU1 0 0:01 4.35% 3.52% top 70078 root 10 0 740K 604K wait 0 0:00 10.00% 0.49% make 69917 root 10 0 740K 604K wait 1 0:00 4.61% 0.44% make 69963 root 10 0 740K 604K wait 0 0:00 4.61% 0.44% make 69894 root 10 0 740K 604K wait 1 0:00 4.61% 0.44% make 69848 root 10 0 740K 604K wait 0 0:00 4.61% 0.44% make 70055 root 10 0 740K 604K wait 1 0:00 9.00% 0.44% make 69756 root 10 0 740K 604K wait 0 0:00 2.80% 0.39% make ... ... almost all is "make" process ... uname -a: FreeBSD elf 4.10-STABLE FreeBSD 4.10-STABLE #0: Thu Jun 17 08:28:46 GMT 2010 root@elf:/usr/obj/usr/src/sys/ELF1 i386 My Libtool was: [root@elf XFree86-4-libraries]# pkg_info | grep libtool libtool-1.3.5_2 Generic shared library support script (version 1.3) libtool-1.5.6 Generic shared library support script (version 1.5) Finally i was successfully built PHP but without those options ( using the default options ). I am now trying to find out what php compile options is initiated the "libtool" problem by compiling php many times with different php_options', it will take a lot of energy :( Can anyone know what is the "real" problem? Is the libtool problem, my SMP kernel problem, or php4 port problem, or is it my mistake to do something? Here is my kernel conf according SMP: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O Here is my PHP OPTIONS that lead to the problem: WITH_BCMATH=ON WITH_BZIP2=ON WITH_CALENDAR=ON WITH_CDB=ON WITH_CRACK=ON WITH_CTYPE=ON WITH_CURL=ON WITH_DB4=ON WITH_DBASE=ON WITH_DBX=ON WITH_DIO=ON WITH_DOMXML=ON WITH_DOMXSLT=OFF WITH_EXIF=ON WITH_FILEPRO=ON WITH_FRIBIDI=ON WITH_FTP=ON WITH_GD=ON WITH_GDBM=ON WITH_GETTEXT=ON WITH_GMP=ON WITH_HYPERWAVE=ON WITH_ICONV=ON WITH_IMAP=ON WITH_INIFILE=ON WITH_INTERBASE=OFF WITH_MBSTRING=ON WITH_MCAL=ON WITH_MCVE=OFF WITH_MCRYPT=ON WITH_MHASH=ON WITH_MIME=ON WITH_MING=ON WITH_MNOGOSEARCH=ON WITH_MSSQL=OFF WITH_MYSQL=ON WITH_NCURSES=ON WITH_OPENLDAP=ON WITH_OPENSSL=ON WITH_ORACLE=ON WITH_OVERLOAD=ON WITH_PCNTL=ON WITH_PCRE=ON WITH_PDFLIB=ON WITH_POSIX=ON WITH_POSTGRESQL=ON WITH_PSPELL=ON WITH_READLINE=ON WITH_RECODE=OFF WITH_SESSION=ON WITH_SHMOP=ON WITH_SNMP=OFF WITH_SOCKETS=ON WITH_SYBASEDB=OFF WITH_SYBASECT=OFF WITH_SYSVMSG=ON WITH_SYSVSEM=ON WITH_SYSVSHM=ON WITH_TOKENIZER=ON WITH_UNIXODBC=ON WITH_WDDX=ON WITH_XML=ON WITH_XMLRPC=ON WITH_XSLT=ON WITH_YAZ=OFF WITH_YP=OFF WITH_ZIP=ON WITH_ZLIB=ON --- Sayid Munawar
Kris Kennaway
2004-Jun-21 07:02 UTC
libtool problem or SMP problem or port problem or what?
On Sun, Jun 20, 2004 at 07:35:53PM +0700, Sayid Munawar wrote:> Then when i tried to make clean, it displayed: > [root@elf XFree86-4-libraries]# make clean > "/usr/ports/Mk/bsd.autotools.mk", line 2: USE_LIBTOOL deprecated: replace > with USE_LIBTOOL_VER=...Looks like your ports collection is out of date or locally customized, that port doesn't use USE_LIBTOOL or USE_LIBTOOL_VER.> [root@elf XFree86-4-libraries]# make clean USE_LIBTOOL_VER=15USE_* are not to be specified by the user, they're only for use within port makefiles. You discovered the consequence, I'll leave the reason for you to figure out as an instructive exercise about the ports collection :) Kris -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040621/62d0b08f/attachment.bin