Q14: [Linux] Output file requires shared library libc.so.4?


? Got something to say about this answer? Use the feedback form to send your comments to the HylaFAQ maintainers, or hit the question mark button to invoke the mailer.

Q.
[Linux] Output file requires shared library `libc.so.4'?

My setup:

The problem: make craps out with the following error:

It appears to be a combination of the "-g" option and the need of a "-l" library.

A.
I found a mention of a similar problem on one of the Linux newsgroups. It appears there was a system configuration problem for me (and some others...).

This seems to be the fix:

> Thanks to those who replied and pointed me in the right direction.
>I was linking using the -g and -pg options. It turns out that I needed to
>make two symbolic links in /usr/lib:
>
> libg.sa -> libc.sa
> libc_p.sa -> libc.sa
>
>After that, the problem went away.

I have rebuilt HylaFAX using these options. I no longer had any of the errors.


Sam Leffler / sam@engr.sgi.com.