install script crashes on unknown ld option -Bsylmbolic-functions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ecl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
$ sudo apt-get install ecl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
ecl-doc
The following NEW packages will be installed:
ecl
0 upgraded, 1 newly installed, 0 to remove and 1016 not upgraded.
Need to get 0B/1335kB of archives.
After unpacking 4293kB of additional disk space will be used.
Selecting previously deselected package ecl.
(Reading database ... 126288 files and directories currently installed.)
Unpacking ecl (from .../ecl_
Setting up ecl (0.9j-20080306-
/usr/lib/
;;; Loading "/usr/lib/
;;; Loading #P"/usr/
;;; Loading #P"/usr/
Saving to new-ecl.
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
An error occurred during initialization:
(SYSTEM "i486-linux-gnu-gcc -o \"/var/
$
I've found an explanation.
- When ecl package is built on the developer host, the flags given by dpkg-buildpackage are stored in the install script. -functions' functions.
- These flags include LDFLAGS => '-Wl,-Bsymbolic
- When ecl is installed on the user host, it needs a version of /usr/bin/ld which supports -Bsylmbolic-
- Therefore, there is a dependency of ecl install script on that version of ld.
-> binutils 2.17.20070103cv s-0ubuntu2 doesn't work 2.18.93. 20081009- 0ubuntu1_ i386.deb works
-> binutils_