libraries in /usr/local/lib

2006-07-13 Thread Mikulas Patocka
Hi I am maintaining links browser. People complain to me that they can't compile it in graphics mode on OpenBSD because it can't find libraries that are placed in /usr/local/lib and includes in /usr/local/include. The problem with libpng can be solved by using pkg-config, problem with

Re: libraries in /usr/local/lib

2006-07-13 Thread Han Boetes
Mikulas Patocka wrote: It is possible to add -I/usr/local/include -L/usr/local/lib to compiler flags, I even distributed links with that for some time, and it turned out that on other unix systems -L/usr/local/lib reversed search (first /usr/local/lib and then /usr/lib, while it used to be

Re: libraries in /usr/local/lib

2006-07-13 Thread Pawel S. Veselov
try if '-isystem/usr/local/include' works first, -I is bad Han Boetes wrote: Mikulas Patocka wrote: It is possible to add -I/usr/local/include -L/usr/local/lib to compiler flags, I even distributed links with that for some time, and it turned out that on other unix systems -L/usr/local/lib