/usr/lib/i386-linux-gnu/libz.so: could not read symbols: Invalid operation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Trying to compile an application that in previous Ubuntu versions builded fine, I now get the following errors:
/usr/bin/ld: note: 'deflate' is defined in DSO /usr/lib/
/usr/lib/
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: zlib1g-dev 1:1.2.3.
ProcVersionSign
Uname: Linux 3.0.0-19-
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Mon May 7 11:36:01 2012
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=nb_NO.UTF-8
LANGUAGE=
SourcePackage: zlib
UpgradeStatus: No upgrade log present (probably fresh install)
no longer affects: | zlib (Ubuntu) |
This seems to be solved by moving the "-lz" back on the command line. Found the hint in this forum entry: http:// forums. ngemu.com/ showthread. php?p=2021227 ("It seems that the link order is important on some systems.").