Re: [OT] postgresql client with libpqxx from ports - linking problem

2008-03-26 Thread Marius Hooge
mcb, inc. wrote: You did not use '-l' correctly then. You have not specified a library to link against hence the unresolved reference. Get the -l correct and you will be on your way. Exactly. Well, I just figured out, that I have to use -lpqxx instead of -llibpqxx.a Duh... Thank you anyway and

Re: [OT] postgresql client with libpqxx from ports - linking problem

2008-03-25 Thread Jacob Meuser
On Tue, Mar 25, 2008 at 10:17:28PM +0100, Marius Hooge wrote: > I think this is kind of offtopic, but google couldn't help and I don't > know where else I could ask. > > I'd like to write a postgresql client in c++ with libpqxx from the ports > and can't get it to link. > (If I recall correctly,

[OT] postgresql client with libpqxx from ports - linking problem

2008-03-25 Thread Marius Hooge
I think this is kind of offtopic, but google couldn't help and I don't know where else I could ask. I'd like to write a postgresql client in c++ with libpqxx from the ports and can't get it to link. (If I recall correctly, the libpqxx port is only used by koffice.) I'm a little bit unexperienc