From: Sasha Pachev Date: April 28 1999 4:10pm Subject: Re: compile with C API List-Archive: http://lists.mysql.com/mysql/2546 Message-Id: <37273305.3AB778CB@direct1.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit "ΗγΑ€Όφ" wrote: > > I use MySQL 3.22.20a. > > When I try compile source program which use C API > > I got error message > > Undefined first referenced > symbol in file > __muldi3 /data1/student/c9744245/local/lib/mysql/lib > mysqlclient.so > __udivdi3 /data1/student/c9744245/local/lib/mysql/lib > mysqlclient.so > ld: fatal: Symbol referencing errors. No output written to a.out > > I compiled with -lmysqlclient option. > > The program only uses 'mysql_init(), mysql_real_connect' > > What's the problem > > Thank U for reading my poor English > > ye You probably are missing -L specifying where your libmysqlclient.a is located. -- Sasha Pachev http://www.sashanet.com/ (home) http://www.direct1.com/ (work)