Subject | Re: [firebird-support] Howto compile Firebird C-API examples |
---|---|
Author | Michael Ludwig |
Post date | 2012-08-21T07:41:06Z |
Tomasz Tyrakowski schrieb am 16.08.2012 um 21:56 (+0200):
for an explanataion; skip the (wrongly) accepted answer by stimms,
see the answers by Johannes Schaub, casualcoder and Lumi instead.
--
Michael Ludwig
> On 2012-08-16 13:24, christian.moelders wrote:See http://stackoverflow.com/q/45135/269126 (Linker order - GCC)
> > I am using Ubuntu 11.10 and try to compile the firebird C-API
> > examples. I does not know what is wrong in my command:
> >
> > gcc -L/usr/lib -lfbclient -I../include api1.c
>
> Just put -lfbclient at the end and you'll be fine.
for an explanataion; skip the (wrongly) accepted answer by stimms,
see the answers by Johannes Schaub, casualcoder and Lumi instead.
--
Michael Ludwig