# \[Bug #3107\] AIX$B$G(B--with-opt-dir

**URL:** <https://www.ruby-forum.com/t/bug-3107-aix-b-g-b-with-opt-dir/186449>\
**Category:** Development\
**Created:** [April 7, 2010, 12:09pm UTC](https://www.ruby-forum.com/t/bug-3107-aix-b-g-b-with-opt-dir/186449 "2010-04-07T12:09:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yutaka\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/c2a13f/32.png) [@Yutaka\_K](https://www.ruby-forum.com/u/Yutaka_K)\
**Post date:** [April 7, 2010, 12:09pm UTC](https://www.ruby-forum.com/t/bug-3107-aix-b-g-b-with-opt-dir/186449/1 "2010-04-07T12:09:26Z")

</div>

Bug #3107: AIXe$B$Ge(B–with-opt-dir  
[http://redmine.ruby-lang.org/issues/show/3107](http://redmine.ruby-lang.org/issues/show/3107)

e$B5/I\<\<Te(B: Yutaka K.  
e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal  
e$BC4Ev\<Te(B: Yutaka K., e$B%+%F%4%je(B: build, Target version:  
1.9.x  
ruby -v: ruby 1.9.2dev (2010-04-07 trunk 27249) [powerpc-aix5.3.0.0]

AIXe$B$Ge(B–with-opt-dire$B$9$k$H!"3HD%%i%$%V%i%j$,8F$Y$J$/$J$j$^$7$?!#e(B  
libce$B$,$J$$$H$+8@$o$l$F$7$^$&$N$G$9$,!"e(B–with-opt-dire$B$r$7$?$H$-$Ke(B  
e$BDI2C$5$l$ke(B-blibpathe$B$N%Q%i%a!\<%?$,e(B–with-opt-dire$B$G;XDj$7$?$b$N$@$1$K$J$j!"e(B

# xlc\_r -G -o …/…/.ext/powerpc-aix5.3.0.0/stringio.so stringio.o -L.

-L…/… -L/somewhere/r19.xlc/lib -blibpath:/somewhere/r19.xlc/lib -L.  
-eInit\_stringio -lpthread -lrt -ldl -lcrypt -lm -lc

libce$B$rC5$7$K$$$1$J$/$J$C$F$$$^$7$?!#e(B  
e$B0J2\<$N%Q%C%A$Ge(B/usr/lib:/libe$B$rDI2C$G$-$k$h$&$K$J$C$F2sHr$O$G$-$?$N$G$9$,!"e(B  
e$B$b$H$b$H$3$N9T$,F~$C$?7P0^e(B  
[http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19233](http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19233)  
e$B$,$h$/$o$+$i$J$+$C$?$N$G!“G0$N0Y$K$”$2$5$;$F$$$?$@$-$^$7$?!#e(B

# Index: configure.in

— configure.in (revision 27249)  
+++ configure.in (working copy)  
@@ -1815,7 +1815,7 @@  
TRY\_LINK=‘$(CC) $(LDFLAGS) -oconftest  
$(INCFLAGS) -I$(hdrdir) $(CPPFLAGS)’  
TRY\_LINK=“$TRY\_LINK”’ $(CFLAGS) $(src)  
$(LIBPATH) $(LOCAL\_LIBS) $(LIBS)’  
: ${LIBPATHENV=SHLIB\_PATH}

- 

```
                  RPATHFLAG=" ${linker_flag}-blibpath:%1\$-s"

```

- 

```
                  RPATHFLAG=" 

```

${linker\_flag}-blibpath:%1$-s:${LIBPATH:-/usr/lib:/lib}"  
rb\_cv\_dlopen=yes],  
[human\*], [ : ${DLDFLAGS=‘’}  
: ${LDSHARED=‘’}

e$B2?$+9MN8E@$,$“$j$^$7$?$i8f0lJs$$$?$@$1$^$9$G$7$g$&$+!)e(B  
e$BFC$K;XE&$,$J$1$l$P!”:#=5Kv$K$G$b$$$l$5$;$F$$$?$@$3$&$H;W$$$^$9!#e(B

e$B$h$m$7$/$\*4j$$$$$?$7$^$9!#e(B

---

<div class="post-metadata">

**Author:** ![Yutaka\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/c2a13f/32.png) [@Yutaka\_K](https://www.ruby-forum.com/u/Yutaka_K)\
**Post date:** [April 11, 2010, 4:38pm UTC](https://www.ruby-forum.com/t/bug-3107-aix-b-g-b-with-opt-dir/186449/2 "2010-04-11T16:38:31Z")

</div>

e$B%A%1%C%He(B #3107 e$B$,99?7$5$l$^$7$?!#e(B (by Yutaka K.)

e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B  
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

This issue was solved with changeset r27307.  
Yutaka, thank you for reporting this issue.  
Your contribution to Ruby is greatly appreciated.  
May Ruby be with you.

* * *

[http://redmine.ruby-lang.org/issues/show/3107](http://redmine.ruby-lang.org/issues/show/3107)
