Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!munnari.oz.au!deakin.OZ.AU!robert From: robert@cm.deakin.OZ.AU (Robert Ruge) Newsgroups: comp.windows.x Subject: Re: Yet Another question about SunOS 4.0.3 compilation Message-ID: <507@sol.deakin.OZ.AU> Date: 4 Jun 90 00:28:03 GMT References: <501@sol.deakin.OZ.AU> Sender: news@deakin.OZ.AU Organization: Dept. of Computing & Mathematics, Deakin University, Australia Lines: 20 In article <501@sol.deakin.OZ.AU> robert@cm.deakin.OZ.AU (Robert Ruge) writes: >Well I finally decided to compile R4 on our Solbourne 5/602 server >which runs SunOS 4.0.3 however I have come across a problem with >linking of the client programs. I get 'ld: Undefined symbol' on >almost every client compiled. eg.: > >cc -o xmbufinfo xmbufinfo.o -O ../.././extensions/lib/libXext.a -L../.././lib/ >X -lX11 >ld: Undefined symbol > __XSetLastRequestRead I have since discovered the error of my ways. I had LD_LIBRARY_PATH defined and apparantly this causes the compiler to not pick up the correct library. Thanks to those who took the time to offer suggestions. -- Robert Ruge ACSNET: robert@cm.deakin.oz.au Department of Computing & Mathematics PHONE: (052) 471319 Deakin University Victoria, 3217