in reply to Error during compilation of 5.8.8 on solaris 10

well.. I installed the package db-4.2.52.NC-sol10-sparc-local and I am still getting that same error. I'm thinking i might have a pathing issue. is that possible?

/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/local/bin:/usr/ucb:/usr/openwin/bin:/usr/dt /bin:/usr/platform/SUNW,Sun-Fire/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWs neep/bin:/opt/CTEact/bin
  • Comment on Re: Error during compilation of 5.8.8 on solaris 10

Replies are listed 'Best First'.
Re^2: Error during compilation of 5.8.8 on solaris 10
by oko1 (Deacon) on Apr 10, 2008 at 16:53 UTC

    Not so much a 'pathing' problem as a problem of the compiler not knowing where to look. Your best bet - assuming that you don't want to hack the Makefile - is to look at the paths specified by the '-L' option (which reads '-L/usr/local/lib') and to create a symlink in that directory to wherever 'libdb.a' lives. E.g., if 'libdb.a' is in '/usr/lib/', then you should do "ln -s /usr/lib/libdb.a /usr/local/lib'.

    
    -- 
    Human history becomes more and more a race between education and catastrophe. -- HG Wells