Back to the month index |
Back to the list index
|
Henrik Wist (wist@ex.MuFFiN.Org)
Tue, 1 Apr 1997 18:23:07 +0200
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Andrus Kangro: "Re: [mSQL] Simple and easy Question"
- Previous message: Jeanne Gold: "Re: [mSQL] Problems in Solaris 2.5"
- Maybe in reply to: J.J. Merelo Guervos: "[mSQL] Problems in Solaris 2.5"
Message-Id: <199704011623.SAA13979@ex.muffin.org> Date: Tue, 1 Apr 1997 18:23:07 +0200 From: Henrik Wist <wist@ex.MuFFiN.Org> Subject: Re: [mSQL] can't compile simple programAhoi,
On Tue, Apr 01, 1997 at 06:35:43PM +0800, Stephen Darragh wrote:
> On Mon, 31 Mar 1997, harry mitchell wrote:
>
> > gcc -lmsql msqltest.c
> > ld: fatal: library -lmsql: not found
> > ld: fatal: File processing errors. No output written to a.out
> > Please let me know if more information is needed.
> >
> Where is libmsql installed? If not in a standard path (/usr/lib,
> /usr/local/lib, etc.) then specify the path with the -L option.
>
> e.g.
>
> gcc -L/usr/local/mylibs -lmsql msqltest.c
>
And again that is perfectly wrong... you have to put the -lmsql _after_ any
sourcefile. gcc msqltest.c -o msqltest -L/usr/local/mylibs -lmsql, as Peter
Samuel already stated. Why don't you just read the FAQ?
Henrik
-- goose@MuFFiN.Org // IRC: |GOOSE| // wist@informatik.tu-muenchen.deDu musst vor der Welle surfen -- Dahinter musst Du nur irre Paddeln und Spass mach es auch keinen... -------------------------------------------------------------------------- To remove yourself from the Mini SQL mailing list send a message containing "unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing "info msql-list" to majordomo@bunyip.com for info on monthly archives of the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!
- Next message: Andrus Kangro: "Re: [mSQL] Simple and easy Question"
- Previous message: Jeanne Gold: "Re: [mSQL] Problems in Solaris 2.5"
- Maybe in reply to: J.J. Merelo Guervos: "[mSQL] Problems in Solaris 2.5"