Re: Baubefehl lokalisieren
"Sascha 'saigkill' Manns" <[email protected]>
| Newsgroups | gmane.linux.suse.programming |
|---|---|
| Organization | openSUSE Marketing Team |
| Message-ID | <[email protected]> |
On Freitag 13 Februar 2009 13:44:32 Philipp Thomas wrote: > * David Haller ([email protected]) [20090213 04:26]: > > [..] > > > > >gcc -pipe -shared -o libtktray1.1.so tktray.o -lXext -lX11 > > > -L/usr/lib - ltclstub8.5 -L/usr/lib -ltkstub8.5 > > > > > >: libtktray1.1.so > > Ein Soname ist hier völlig überflüssig denn es handelt sich um eine > TCL-Erweiterung und daher eher um ein Plugin als eine normale Shared > library. Da hast du Recht. Allerdings baue ich auch meine Pakete für Contrib. Und die legen Wert auf soname und versioned Librarys. Leider :-( Ich habe jetzt aus ----------------------------------------------------------------------------------------- gcc -pipe -shared -Wl,-soname,libtktray1.1.so -o libtktray1.1.so tktray.o -lXext -lX11 -L/usr/lib -ltclstub8.5 -L/usr/lib -ltkstub8.5 : libtktray1.1.so ----------------------------------------------------------------------------------------- folgendes gemacht: ---------------------------------------------------------------------------------------- gcc -pipe -shared -Wl,-soname,libtktray1.1.so.%{version} -o libtktray1.1.so.%{version} tktray.o -lXext -lX11 -L/usr/lib - ltclstub8.5 -L/usr/lib -ltkstub8.5 : libtktray1.1.so.%{version} ---------------------------------------------------------------------------------------- Reicht das zum setzen der Version, oder muss ich das anders machen? -- Sincereley yours Sascha Manns openSUSE Marketing Team (Weekly News) openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://lizards.opensuse.org/author/saigkill