Re: Error Api OpenLdap

2006-07-16 Thread Dan Nelson
In the last episode (Jul 16), Eder said: > I am having problems to use the API of ldap simply when I compile the > code says that the archive does not exist. > > #include > int main(void) > { > } > > % cc test.c > test.c:2:18: ldap.h: No such file or directory You want "cc -I/usr/local/include

Re: LinkLib Issues In freebsd Lazarus

2006-07-16 Thread Jeremy Messenger
On Sun, 16 Jul 2006 14:51:05 -0500, Bob Richards <[EMAIL PROTECTED]> wrote: I went back to the Lazarus source tree gmake clean; gmake and received the following error: Free Pascal Compiler version 2.0.2 [2006/07/14] for i386 Copyright (c) 1993-2005 by Florian Klaempfl Target OS: FreeBSD/

Re: LinkLib Issues In freebsd Lazarus

2006-07-16 Thread Bob Richards
Steve Kargl wrote: > > I realized this. However, the OP had 2 problems. > He had problems installing fpc because of library > issues. No, I had a problem compiling Lazarus because of an incorrect library call in FPC. FPC installed/compiled correctly from the freepascal _sources_ (Not avail

Re: LinkLib Issues In freebsd Lazarus

2006-07-16 Thread Bob Richards
Steve Kargl wrote: > > > Are you aware of the Ports Collections? > Yup. > See /usr/ports/lang/fpc and /usr/ports/editors/fpc-ide > > The first is a binary-only install (I need the full sources), the second is the text-mode IDE, not Lazarus. Bob

Error Api OpenLdap

2006-07-16 Thread Eder
Hi all, I am having problems to use the API of ldap simply when I compile the code says that the archive does not exist. #include int main(void) { } % cc test.c test.c:2:18: ldap.h: No such file or directory Being that the archive is in include. % cat /usr/local/include/ldap.h Somebody know

Re: LinkLib Issues In freebsd Lazarus

2006-07-16 Thread Steve Kargl
On Mon, Jul 17, 2006 at 12:01:43AM +0200, Ivan Voras wrote: > >Are you aware of the Ports Collections? > > > >See /usr/ports/lang/fpc and /usr/ports/editors/fpc-ide > > Lazarus != "FPC-IDE", despite parent post :) I realized this. However, the OP had 2 problems. He had problems installing fpc

Re: LinkLib Issues In freebsd Lazarus

2006-07-16 Thread Ivan Voras
Are you aware of the Ports Collections? See /usr/ports/lang/fpc and /usr/ports/editors/fpc-ide Lazarus != "FPC-IDE", despite parent post :) It's inconvenient to use lang/fpc port with Lazarus becuase sometime there's a need to recompile runtime libraries. ___

Re: LinkLib Issues In freebsd Lazarus

2006-07-16 Thread Steve Kargl
On Sun, Jul 16, 2006 at 03:51:05PM -0400, Bob Richards wrote: > > I recently moved from Linux to FreeBSD as my primary work environment. > My development system of choice is FreePascal. I installed FPC-2.0.2 > from the official FreePascal distribution tar ball, and all > compiled/installed without

LinkLib Issues In freebsd Lazarus

2006-07-16 Thread Bob Richards
Hi Folks: I believe this is a "hacker" issue, at least any possible solution is. I recently moved from Linux to FreeBSD as my primary work environment. My development system of choice is FreePascal. I installed FPC-2.0.2 from the official FreePascal distribution tar ball, and all compiled/install

Re: dlsym() on implicit loaded symbols

2006-07-16 Thread Roland Dittel
Am 16.07.2006 um 14:33 schrieb Simon 'corecode' Schubert: Roland Dittel wrote: We have a issue with dlsym() on symbols imported by a library that was loaded with dlopen(). Our code loads the libssl with dlopen() and then do a dlsym() on several symbols. This works for all symbols exported by

Re: dlsym() on implicit loaded symbols

2006-07-16 Thread Simon 'corecode' Schubert
Roland Dittel wrote: We have a issue with dlsym() on symbols imported by a library that was loaded with dlopen(). Our code loads the libssl with dlopen() and then do a dlsym() on several symbols. This works for all symbols exported by libssl itself but fails for symbols exported by libcrypto.

Re: dlsym() on implicit loaded symbols

2006-07-16 Thread Roland Dittel
Simon 'corecode' Schubert wrote: Roland Dittel wrote: Hi all, We have a issue with dlsym() on symbols imported by a library that was loaded with dlopen(). Our code loads the libssl with dlopen() and then do a dlsym() on several symbols. This works for all symbols exported by libssl itself