From: Daniel Berger Date: 2003-05-29T01:21:26+09:00 Subject: Problem with have_library() with Oracle 9.2.x Hi all, Ruby 1.6.8 Solaris 8 & 9 Oracle 9.0.1 and 9.2.0.3 I've successfully built and used Yoshida Masato's oracle driver on my Solaris 9 box with Oracle 9.0.1 with no problem. However, on a Solaris 8 box where we recently upgraded to 9.2.0.3, this line is failing: have_library("clntsh","olog") # -> returns "no" This causes the build to fail. Running 'nm libclntsh.so | grep olog' I get: [oracle@brideofrank lib]$ nm libclntsh.so | grep olog [29600] | 10283456| 172|FUNC |LOCL |0 |9 |LpxParseMultiProlog [29597] | 10283264| 172|FUNC |LOCL |0 |9 |LpxParseProlog [44139] | 6768288| 152|FUNC |GLOB |0 |9 |kologcs [34237] | 6768448| 28|FUNC |GLOB |0 |9 |kologictx [18407] | 6763424| 432|FUNC |LOCL |0 |9 |kologind [44555] | 6767136| 672|FUNC |GLOB |0 |9 |kologsf [38644] | 6768256| 8|FUNC |GLOB |0 |9 |kologsvc [44538] | 6711072| 48|FUNC |GLOB |0 |9 |kologsz [37395] | 1777720| 12|FUNC |GLOB |0 |9 |olog [789] | 0| 0|FILE |LOCL |0 |ABS |olog.s [40484] | 1777732| 12|FUNC |GLOB |0 |9 |ologof [790] | 0| 0|FILE |LOCL |0 |ABS |ologof.s [40494] | 1777744| 12|FUNC |GLOB |0 |9 |ologon [791] | 0| 0|FILE |LOCL |0 |ABS |ologon.s [42662] | 2306624| 1200|FUNC |GLOB |0 |9 |xaolog [1546] | 0| 0|FILE |LOCL |0 |ABS |xaolog.c [40639] | 2308288| 116|FUNC |GLOB |0 |9 |xaologc [40669] | 2307872| 404|FUNC |GLOB |0 |9 |xaologo So, it looks to me like olog is still defined in libclntsh. Why is mkmf not seeing it? Any and all help greatly appreciated. Regards, Dan