Hi,

On 02.10.2008, at 17:18, gx-turbo wrote:

The main problem is the missing lib(s), probably due to confused search path and/or different lib locations (/lib, /usr/lib ?) on different systems. In Makefile I found only -L/usr/local/lib. How does ld or gcc find libs ?
seems it looks in /usr/lib, but not in /lib.
To make progress, I copied *.a from /lib to /usr/local/lib /which was empty
before).

The toolchain (gcc, ld, ...) default to look into system pathes that include /lib, /usr/lib, the lib64 variants on multilib 64bit systems and other variants,
(e.g. tls, notls, cpu optimization related dirs, etc)

You should not move the libraries around manually. Why it failed before
I do not know off handeither.

Now all errors disappeared.

I really would like to know why this package has this library problems.
You may remember there is also the pending imlib2 problem.
Should not be that big rocket science to fix it, or ?

/opt/*/lib... are not searched by default, which is why there are the
pkg-config files (or the old -config scripts) for packages to obtain
the correct pathes on a distribution - which varies between releases,
vendors (Fedora, Debian, etc.) and in T2 even between configurations.

If the package configure does not include any support you would have
to patch it in (or use T2 automatics to inject it), but the configure script
might have a --with-imlib option to specify the patch.


What is your recommendation how to solve it ?

regards
Gerd


gx-turbo wrote:

hi,

there is another problem with all gcc/binutils:

/usr/lib/gcc/i486-t2-linux-gnu/4.2.2/../../../../i486-t2-linux-gnu/ bin/ld:
cannot find -lz

I found this also with a native compile on a T2 system, but here without
the eh_frame error.

libz I found in /lib
seems to be a problem with ld search path ?

Don't know if both problems are connected.



--
View this message in context: 
http://www.nabble.com/.eh_frame-error-tp19744831p19781404.html
Sent from the T2 mailing list archive at Nabble.com.



-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

--
  René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
  http://exactcode.de | http://t2-project.org | http://rene.rebe.name

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to