linking against old shared libraries

linking against old shared libraries

Post by Vasili Gouta » Thu, 28 Sep 2000 04:00:00


I'm developing on Linux and want to link my programs against a older
version of the C lib.
I tried compiling my code using the options -nostdlib -L<path to older
libs> -lc which works,
but I get following warning:
/usr/i486-suse-linux/bin/ld: warning: cannot find entry symbol _start;
defaulting to 08048b40

The binary is not able to run. Linking static works, but the striped
version of it has the double size.

Any ideas how to get it linked against the old libs?



  SensoLogic GmbH                                voice: +49 40 529567-40

  Dipl. Ing. technische Informatik
  Vasili Goutas                                    fax: +49 40 529567-99

  - Software Developer -                     internet:

  Hummelsbtteler Steindamm 78a
  22851 Norderstedt, Germany                   Software + Sensor Systems



1. linking against shared libraries

Maybe I'm to dumb but I don't know the commands to link against shared
libraries using gcc. Can anyone point me to some information?

Problem is: I have a shared library here but not the static counterpart.
But in my understanding the shared libraries contain the same stuff as
static ones so it must be possible to link against them but how to do


2. PPP Startup on RH 5.0

3. linking statically against shared libraries

4. RH6.2 on Athlon - boot problems.

5. Question: Inclusion of shared libraries during linking of shared libraries

6. Installing Linux 1.2.13

7. linking static library against another library

8. HP Pavilion 6360 and Netgear FA310TX

9. Possible to link an old shared library?

10. Linking against old libstdc++

11. link static libraries into a shared library

12. Shared lib - do I need to link against libc?

13. Linking against SCO static Library ?