Re: More shared lib stuff

1997-03-10 Thread Tomislav Vujec
"Walter L. Preuninger II" <[EMAIL PROTECTED]> writes: > to compile the program, I followed the elf-howto and just did a > gcc -o example example.c You'll have to add -lmy_lib on the end of line, if you want to compile example with your shlib libmy_lib.so

More shared lib stuff

1997-03-09 Thread Walter L. Preuninger II
Thanks for the quick turnaround on my question about the benefits of shared libs. Now for the next problem. Well, I think I have got my shared lib built, I have run ldconfig but when I try to compile a program that uses routines in the shared lib, I get /tmp/cca024781.o: In function `main': /tmp/