|
From: | Salman Farooq |
Subject: | ldl not found when linking static bash |
Date: | Thu, 19 Jul 2001 14:33:38 -0500 |
Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.6
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc'
-DCONF_OSTYPE='solaris2.6' -DCONF_MACHTYPE='sparc-sun-solaris2.6' -DCONF_VENDOR='sun'
-DSHELL -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I. -I. -I./include -I./lib -I/sbin/include
-g -O2
uname output: SunOS snowman.Cadence.COM 5.6 Generic_105181-16 sun4u
sparc SUNW,Ultra-5_10
Machine Type: sparc-sun-solaris2.6
Bash Version: 2.05
Patch Level: 0
Release Status: release
Description:
I want to compile bash static.But i am getting following error
, please
help me .
commands which i executed:
-------------------------
./configure --prefix=/sbin --enable-static-link
It went through fine.
then i executed
make STATIC_LD= LOCAL_LIBS='-Wl,-B,dynamic -ldl -Wl,-B,static'
following error reported that -ldl not foung
"termcap -lglob -ltilde -lmalloc -Wl,-B,dynamic -ldl -Wl,-B,static
-lsocket -lnsl
ld: fatal: library -ldl: not found
ld: fatal: File processing errors. No output written to bash
*** Error code 1
make: Fatal error: Command failed for target `bash'"
Repeat-By:
whenever i trying to link bash statically.
[Prev in Thread] | Current Thread | [Next in Thread] |