ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] apache-1.3.34rusPL30.22-alt2
Date: Tue, 21 Mar 2006 23:23:36 +0300
Message-ID: <20060321202336.GA13172@basalt.office.altlinux.org> (raw)
In-Reply-To: <20060319011610.GA5247@basalt.office.altlinux.org>


[-- Attachment #1.1: Type: text/plain, Size: 794 bytes --]

On Sun, Mar 19, 2006 at 04:16:10AM +0300, Dmitry V. Levin wrote:
> On Sun, Mar 19, 2006 at 03:25:42AM +0300, Денис Смирнов wrote:
> [...]
> > По поводу моей попытки использовать rpath -- вот как раз она, судя по
> > всему, и не удалась.
> [...]
> > --- src/Makefile.tmpl.orig	2004-11-24 22:10:19 +0300
> > +++ src/Makefile.tmpl	2006-03-19 00:33:09 +0300
> > @@ -45,12 +45,13 @@
> >  
> >  lib$(TARGET).ep: lib$(TARGET).$(SHLIB_SUFFIX_NAME)
> >  	$(CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SHLIB_EXPORT) \
> > +		-Wl,--rpath=. \
> >  	      -o lib$(TARGET).ep -DSHARED_CORE_TIESTATIC main/http_main.c \
> >  		  -L. -l$(TARGET) $(LIBS)
> >  
> 
> Ещё бы.  Как вы себе представляете rpath="."?  Правильная версия attached.

Переносимая версия прилагается.


-- 
ldv

[-- Attachment #1.2: apache-1.3.34-alt-makefile.patch --]
[-- Type: text/plain, Size: 1016 bytes --]

--- apache_1.3.34.orig/src/Makefile.tmpl	2004-11-24 19:10:19 +0000
+++ apache_1.3.34/src/Makefile.tmpl	2006-03-21 17:36:45 +0000
@@ -46,11 +46,11 @@ target_shared: $(SHCORE_IMPLIB) $(SHARED
 lib$(TARGET).ep: lib$(TARGET).$(SHLIB_SUFFIX_NAME)
 	$(CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SHLIB_EXPORT) \
 	      -o lib$(TARGET).ep -DSHARED_CORE_TIESTATIC main/http_main.c \
-		  -L. -l$(TARGET) $(LIBS)
+		  -L. -l$(TARGET) $(LIBS) -Wl,--rpath,\$$ORIGIN
 
 lib$(TARGET).$(SHLIB_SUFFIX_NAME): subdirs modules.o
 	$(CC) -c $(INCLUDES) $(CFLAGS) buildmark.c
-	$(LD_SHLIB) $(LDFLAGS_SHLIB) -o lib$(TARGET).$(SHLIB_SUFFIX_NAME) buildmark.o $(OBJS) $(REGLIB) $(EXPATLIB) $(LD_SHCORE_DEF) $(LD_SHCORE_LIBS)
+	$(LD_SHLIB) $(LDFLAGS_SHLIB) -o lib$(TARGET).$(SHLIB_SUFFIX_NAME) buildmark.o $(OBJS) $(REGLIB) $(EXPATLIB) $(LD_SHCORE_DEF) $(LD_SHCORE_LIBS) $(LIBS)
 	@if [ ".$(SHLIB_SUFFIX_LIST)" != . ]; then \
 		rm -f lib$(TARGET).$(SHLIB_SUFFIX_NAME).*; \
 		for suffix in $(SHLIB_SUFFIX_LIST) ""; do \

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

  parent reply	other threads:[~2006-03-21 20:23 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-21 17:18       ` [devel] mikmod-3.1.6a-alt4: rebuild failed Michael Shigorin
2006-03-21 17:21         ` Dmitry V. Levin
2006-03-18 20:25                   ` [devel] [10 packages]: " Michael Shigorin
2006-03-18 21:12                     ` Денис Смирнов
2006-03-20  9:26                       ` Michael Shigorin
2006-03-18 22:32                     ` Dmitry V. Levin
2006-03-19  0:25                       ` Денис Смирнов
2006-03-19  1:16                         ` [devel] apache-1.3.34rusPL30.22-alt2 Dmitry V. Levin
2006-03-19 10:13                           ` Денис Смирнов
2006-03-19 14:20                             ` Dmitry V. Levin
2006-03-20  9:34                           ` Michael Shigorin
2006-03-21 20:23                           ` Dmitry V. Levin [this message]
2006-03-20  9:28                         ` [devel] q: apache-1.3 && shared core? (was: [10 packages]: rebuild failed) Michael Shigorin
2006-03-21 20:27                         ` [devel] mod_auth_db Dmitry V. Levin
2006-03-21 16:50                       ` [devel] [10 packages]: rebuild failed Michael Shigorin
2006-03-21 16:54                         ` Dmitry V. Levin
2006-03-21 16:58                           ` Michael Shigorin
2006-03-21 17:20                             ` Dmitry V. Levin
2006-03-24 19:38                   ` [devel] xmms-in-cdparanoia-0.1-alt1: " Michael Shigorin
2006-03-27 10:43                     ` Sergey V Turchin
2006-03-27 18:20                       ` Michael Shigorin
2006-03-25 19:19               ` [devel] timeshift-0.1-alt1: " Michael Shigorin
2006-03-25 19:30                 ` Andrey Rahmatullin
2006-03-25 20:12                   ` Michael Shigorin
2006-03-25 20:59                 ` Dmitry V. Levin
2006-03-26 13:28                   ` Michael Shigorin
2006-04-03  7:47                 ` Andrei Bulava
2006-04-03  8:22                   ` [devel] [JT] " Michael Shigorin
2006-04-03 11:38                   ` [devel] " Dmitry V. Levin
2006-04-03 12:39                     ` Michael Shigorin
2006-03-26 14:02     ` [devel] liblasi-1.0.4-alt1: " Michael Shigorin
2006-03-26 14:25       ` Valery V. Inozemtsev
2006-03-26 18:10         ` Michael Shigorin
2006-03-26 18:35           ` Valery V. Inozemtsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060321202336.GA13172@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git