|
Re: lug-bg: Slackware 9.1 mysql help problem
- Subject: Re: lug-bg: Slackware 9.1 mysql help problem
- From: emo terziev <emo_terziev@xxxxxxxxx>
- Date: Mon, 1 Dec 2003 03:05:27 -0800 (PST)
dobre taka predpolagah i az
no imali nachin da se instalira
biblioteka koiato da e savmestima
sas deklaraciite vav mysql-3.x
nesto ot sorta e predpolagam mysql-shared-compat
vav Slackware 9.1
az ste se opitam da si promenia koda(makar che no
ne e logichno da niama nachin da se kompilirat
stari soursove bez promiana
emo
--- George Danchev <danchev@xxxxxxxxx> wrote:
> On Monday 01 December 2003 00:20, emo terziev wrote:
> > Zdaveite,
> > moje li niakoj zapoznat sas Slackware da okaje
> malko
> > help.
> > problema e slednia imam Slackware 9.1 sas
> > mysql-4.0.15a(default) no ne moga da kompiliram
> pochti
> > nisto postoianno mi garmi sas stranni greshki.sas
> > mysql-3 i po specialno sas libmysql.so.10 vsichko
> se
> > kompilira normalno
> >
> > mojebi triabva da se instalira mysql-shared-compat
> ili
> > nesto takova no ne go namiram nikade za Slackware
> 9.1
> >
> > eto edin primer
> >
> > gcc test3.c -lmysqlclient -lgd
> >
> > /tmp/ccGZ8yQz.o(.text+0x12b5): In function `main':
> > : undefined reference to `mysql_connect'
> >
> > collect2: ld returned 1 exit status
> >
> > pri polojenie che ima mysql.
> >
> > ldconfig -v | grep mysql
> > /usr/lib/mysql:
> > libmysqlclient.so.12 ->
> > libmysqlclient.so.12.0.0
> > libmysqlclient_r.so.12 ->
> > libmysqlclient_r.so.12.0.0
>
> Ñïîðåä ìåí èìà ïðîìÿíà íà ABI îò <library>.so.10....
> êúì <library>.so.12, ïðè
> êîåòî ëèíêåðà íÿìà êàê äà ñâúðæå òâîåòî ïðîãðàì÷å
> óñïåøíî ñúñ ñòàðàòà è
> íîâàòà âåðñèÿ íà library.so.N. Àáñîëþòíî ïðàâèëíî
> developers na MySQL ñëåä
> êàòî ñà íàïðàâèëè ïðîìÿíà â ñîðñà êîÿòî âîäè äî
> binary incompatibility
> ñïðÿìî ñòàðàòà âåðñèÿ íà shared object-a êîéòî ñå
> ïîëó÷àâà îò òîÿ ñîðñ
> (íàïðèìåð Signs of binary incompatibility include:
> function declaration
> change, change of "struct" contents, and changing
> semantics of functions
> (hard to detect).] ñà ïðèìåíèëè è âåðñèÿòà íà .so
> file-a. [1]
>
> Ò.å.
>
> objdump -p <library>.so.10 | grep SONAME
> objdump -p <library>.so.12 | grep SONAME
>
> íå äàâà åäíàêâè output-è.
> Ñòðàøíî ùåøå äà áúäå àêî òèõîìúëêîì áÿõà ïðîìåíèëè
> ABI-òî â ñîðñà è íå áÿõà
> bump-íàëè âåðñèÿòà íà .so-òî äî 12 íàïðèìåð ... Ñåãà
> ïðîìÿíàòà å àíîíñèðàíà
> òàêà äà ñå êàæå è å ÿñíî, ÷å òðÿáâà äà ïðèñïîñîáèø
> òâîåòî ïðîãðàì÷å òàêà, ÷å
> äà èçïîëçâà íîâàòà ñåìàíòèêà èëè äåêëàðàöèè è ò.í. è
> ò.í. êîèòî ñà âúâåäåíè â
> ñîðñà îò êîéòî ñå ïîëó÷àâà ...so.12 êîéòî ïúê òè
> ëèíêâàø... òîâà ìîæå äà ñå
> îêàæå è ìíîãî äåáåëà ðàáîòà ;-)
>
> [1] (may be wrapped)
>
http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html#SONAMES
>
> --
> pub 4096R/0E4BD0AB 2003-03-18 <keyserver.bu.edu>
> 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB
>
>
============================================================================
> A mail-list of Linux Users Group - Bulgaria
> (bulgarian linuxers).
> http://www.linux-bulgaria.org - Hosted by Internet
> Group Ltd. - Stara Zagora
> To unsubscribe:
> http://www.linux-bulgaria.org/public/mail_list.html
>
============================================================================
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|