SUMMARY (again): libpixrect & ld problems with 4.1.3

From: weingart@inf.ethz.ch
Date: Thu May 13 1993 - 02:22:02 CDT


djh@rational.com writes:

>Sorry, but this summary does me no good at all. Please include
>your original posting so I know what the problem was that you
>fixed.
>
>Thanks...Doris.

[Pathetic summary deleted]

Thanks. Looking back at it, that was a pathetic summary.
Here is a better one. Hopefully more usefull than the
bandwidth (sp?) waster before.

I had two questions, both concerning linking on a SPARC, running
4.1.3.

First Question:

How can I fix this:

>tau.inf.ethz.ch% cat tester.c
>
>#include <stdio.h>
>#include <dlfcn.h>
>
>main()
>{
>void* fd;
>
> fd = dlopen("/usr/lib/libpixrect.so.2.14", 1);
> printf("I got (%s)\n", dlerror());
> dlclose(fd);
>}
>
>tau.inf.ethz.ch% cc tester.c -ldl
>tau.inf.ethz.ch% ./a.out
>I got (ld.so: conflicting usage of dlopen'ed dependents)
>tau.inf.ethz.ch%

The answer is to apply patch 100257 wich fixes ld.so and friends.

Second Question:

How can I fix this:

>SPARC at 4.1.3
>100257 applied
>
>cplus -o osql osql.o Person.o Address.o Employee.o Student.o Objects.o -g -QUIET -lSQL -lONTOS -L/usr/local/ONTOS_2.2/lib
>cc -L/usr/local/lib/CC2.0 -o osql osql.o Person.o Address.o Employee.o Student.o Objects.o -g -lSQL -lONTOS -L/usr/local/ONTOS_2.2/lib -lC
>ld: /usr/lib/libc.sa.1.8.2(errno.o): no of reloc used 1013 != no alloc 988
>make: *** [osql] Error 4

The answer is to apply patch 100170 which fixes ld.

--Toby.
--------------------------------------------------------------
|Tobias Weingartner | PGP2.x Public Key available at |
| +41'41'33'25'40 | 'finger weingart@tau.inf.ethz.ch' |
--------------------------------------------------------------
%SYSTEM-F-ANARCHISM, the operating system has been overthrown



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