Shared library question

Zagorodnev, Grigory Grigory_Zagorodnev@stl.sarov.ru
Wed Jul 17 05:40:00 GMT 2002


>If you'll do:
>VER_1.0 { global: foo; bar; baz; local: *; };
>VER_1.1 { } VER_1.0;
>and .symver __real_foo, foo@VER_1.0
>then program/libs linked against non-versioned foo will resolve to
>foo@VER_1.0, while ld won't use foo.

Well...
This solution works fine for small test-cases. But I have problems running
huge real application. Same conditions, same library, same symbol
information in the application but ld.so does not resolve reference to
foo@VER_1.0.

Any assumptions on that?

Grigory.



More information about the Binutils mailing list