May be a stupid question, but the INSTALL.SunOS4 talks about running 'make install' in the SunOS4 folder. I'm running Solaris 8, which is SunOS 5.8, correct? So I should run 'make install' in the SunOS5 folder, correct? (that's what I did last time, but figured I should check this time)

Carlos Villegas wrote:
Carlos Villegas wrote:

I've seen this same error (ELF error) with other software on solaris while
using gcc, the solution is to have /usr/ccs/bin in your path BEFORE
/opt/sfw/bin, so the linker should be /usr/ccs/bin/ld not gnu's. I don't
know why this happens, but it might fix your problem.

I have /usr/ucb/ld and /usr/ccs/bin/ld, and no /opt/sfw. Which one is the correct one? How does one find out what package a file belongs to?

k, I built it with /usr/ccs/bin:/usr/ucb:$PATH,


I've used succesfully (although I've never tried compiling ipf) /usr/ccs/bin/ld, and I think that's the one you should try, you should also use /usr/ccs/bin/make instead of GNU make (I think that's somewhere in the README's of ipf). Maybe Darren knows better what the difference is, I'm just guessing.

Use pkgchk to find out which package has a file (use all the path):

pkgchk -l -p /usr/ucb/ld

I did it, and this is the result for those two ld's:

/usr/ucb/ld is in SUNWscpu
/usr/ccs/bin/ld is in SUNWtoo

sweet, I also found 'grep /path/to/file /var/sadm/install/contents' does the trick.


--
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main   713.329.9330
Fax    713.460.4051
Mobile 512.789.1962

5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)



Reply via email to