Summary: Resolver sunos 4.1.2

From: stuart shapiro (stuart@bfsun1.eglin.af.mil)
Date: Thu Jan 07 1993 - 22:26:09 CST


Hi,

Thanks to the responses, the problem was solved.

The original posting:
> Hi,
>
> I'm having a problem getting the resolver to resolve names. I modified
> libc.so to use the resolver and it worked fine for that, but I started
> having problems with undefined symbols when I would compile programs.
> They were _dlopen, _dlclose, dlsym.
>
> Also the machine didn't want to reboot when shut down until I changed back
> to the old libc.so.
>
> Any suggestions?
>
> Thanks
> Stuart
>

The solution:

when you make the new libc.so, you have to change
/usr/lib/shlib.etc/Makefile so that the line

        ld -assert pure-text `${OBJSORT} lorder-sparc tmp`

becomes

        ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl

Thanks to the following:

jdavis@bordeaux.kpno.noao.edu
guy@auspex.com
mrp@itd.adelaide.edu.au
ckd@eff.org
zdv123@zam092.zam.kfa-juelich.de
jim@pi-chan.ucsb.edu
vannes@alcatel.ch
weingart@inf.ethz.ch
pace@zeppo.cc.fsu.edu
mann@emma.la.asu.edu
johnb@edge.cis.mcmaster.ca



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:20 CDT