Summary: | zlib fails to build a shared lib | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | João Eduardo Ferreira Bertacchi <joaobertacchi> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | amd64 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge zlib
"# emerge --debug zlib" output 'MAKEOPTS=-j1 emerge zlib >& log' with changed ebuild /var/tmp/portage/zlib-1.2.3/work/zlib-1.2.3/configure |
Description
João Eduardo Ferreira Bertacchi
2006-03-10 06:34:57 UTC
/lib64/libz.so shouldnt be pointing to stuff /usr/lib64/ post the log as an attachment: `emerge zlib >& log` Created attachment 81861 [details]
emerge zlib
After I emerge zlib, there isn't /lib64/libz.so link. I noticed that there is a file named libz.so in /usr/lib64 and I make by hand a link to it.
no, your problem is that zlib doesnt generate a shared lib at all:
>>> Source unpacked.
./configure: line 80: -fPIC: command not found
Checking for shared library support...
run `emerge --debug zlib >& log` and post that as an attachment
Created attachment 81866 [details]
"# emerge --debug zlib" output
ok, that doesnt work ... try this: edit /usr/portage/sys-libs/zlib/zlib-1.2.3.ebuild change the line './configure ......' to read 'sh -x ./configure ......' then run MAKEOPTS=-j1 emerge zlib >& log Created attachment 81874 [details]
'MAKEOPTS=-j1 emerge zlib >& log' with changed ebuild
Before run emerge I did 'ebuild zlib-1.2.3.ebuild digest'
your sync is up to date right ? also, what version of bash do you have ? can you post your /var/tmp/portage/zlib-1.2.3/work/zlib-1.2.3/configure as an attachment so we can be sure it isnt screwed up ... Created attachment 82026 [details]
/var/tmp/portage/zlib-1.2.3/work/zlib-1.2.3/configure
I didn't sync (and I'd like to don't sync). I'm using the release 2006.0. I'm creating a new system from stage 1 in a system that still works. I use chroot to change the root to other dir and I run emerge from new root. ugh, no wonder it isnt working sync your tree and dont bother filing a bug again w/out doing so because you'll just waste our time chasing bugs that were fixed already I'm sorry and thanks for your time. After sync, for my shame, it works. Sorry again. |