[csw-users] cswproto not found

Juergen Arndt ja at baltic-online.de
Wed Mar 11 17:47:32 CET 2009

On Tue, 10 Mar 2009 19:35:15 +0100, Maciej Bliziński  
<maciej.blizinski at gmail.com> wrote:

> On Tue, Mar 10, 2009 at 6:02 PM, Juergen Arndt <ja at baltic-online.de>  
> wrote:
>> In that special case I need it for Solaris 8. The software I want to
>> package uses C functions, which are not in the Sol-8-libs, so I had to  
>> use
>> the ucb libs.
> You don't have -I/usr/ucbinclude in your CPPFLAGS. If you don't have
> them, you can have problems like readdir() function stripping off
> first 2 characters of every file. I spent half a day today debugging
> that. You need to either use -I/usr/ucbinclude and -L/usr/ucblib, or
> none. Also, as a side note - if you're specifying -L/usr/ucblib, it's
> a good idea to specify also -R/usr/ucblib which will make the binary
> search /usr/ucblib for libraries during runtime. Otherwise you can get
> an error with a shared library not found.

Oh, thanks for that! I will try that and clean up the makefile.


Juergen Arndt

More information about the users mailing list