Mailinglist Archive: opensuse-programming-de (108 mails)

< Previous Next >
Re: [opensuse-programming-de] Baubefehl lokalisieren
  • From: "Sascha 'saigkill' Manns" <samannsml@xxxxxxxxxxxxx>
  • Date: Sat, 14 Feb 2009 17:21:54 +0100
  • Message-id: <200902141721.55219@xxxxxxxxxxxxxxxxxxxxx>
On Freitag 13 Februar 2009 13:44:32 Philipp Thomas wrote:
* David Haller (lists@xxxxxxxxxx) [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

--
To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-programming-de+help@xxxxxxxxxxxx

< Previous Next >