DNS search between Solaris2.5.1 and Solaris2.6

DNS search between Solaris2.5.1 and Solaris2.6

Post by Jeff S. Dickso » Fri, 20 Feb 1998 04:00:00




> Hello,

> I made a small program which uses DNS query mechanism.
> When I compile it on Solaris2.5.1, it compiles w/o
> any warnings and runs fine. But, when I do so on Solaris
> 2.6, it gives me such a warning.

> ild: (undefined symbol) dn_skipname -- referenced in the text segment of
> /vol1/nabe/mill2/lib/solaris2.5.1/libDmMain.a: dm_browser.o

> On Solaris2.6, dn_skipname becomes local function but __dn_skipname is
> newly defined, instead.

> [root*screw(201)]nm /usr/lib/libresolv.so | grep dn_skipname
> 358:[515]       |     23828|     116|FUNC |GLOB |0    |11     |__dn_skipname
> 450:[47]        |     44656|      12|FUNC |LOCL |0    |11     |dn_skipname

> On Solaris2.5.1,

> bash-2.01$ nm /usr/lib/libresolv.so | grep dn_skipname
> [241]   |     10352|      96|FUNC |GLOB |0    |7      |dn_skipname

> I want to keep the same binary between 2.5.1 and 2.6. Is it possible??

> Anyway, I dont understand why they made such a change??? ANY REASON!?!?

> Thanks in advance,

> best regards,

> -Yoshi

> -o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-


> NK-Exa Corporation
> Network Management System Product Dept. R&D

> Solid Square East Tower 16F 580 Horikawa-cho,
> Saiwai-ku, Kawasaki, Kanagawa, 210 JAPAN

> TEL: +81-44-540-2185        FAX: +81-44-540-2393

> -o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-

So have you tried to declare it as a null function ( { ; } ) in
your 2.6 source code and see if that makes a difference? Without
seeing anything pertinent I can't make very good guesses! But hey,
if you figure it out you could always enclose your work around in
an #IFDEF block where your test the was the OS version. I don't
recall the name of the define, but there is one and it is consitent.
Since the source code would have to be recompiled anyways - voila!

Jeff S.*son

 
 
 

DNS search between Solaris2.5.1 and Solaris2.6

Post by Yoshiharu Iguch » Sat, 21 Feb 1998 04:00:00


Hello,

I made a small program which uses DNS query mechanism.
When I compile it on Solaris2.5.1, it compiles w/o
any warnings and runs fine. But, when I do so on Solaris
2.6, it gives me such a warning.

ild: (undefined symbol) dn_skipname -- referenced in the text segment of
/vol1/nabe/mill2/lib/solaris2.5.1/libDmMain.a: dm_browser.o

On Solaris2.6, dn_skipname becomes local function but __dn_skipname is
newly defined, instead.

[root*screw(201)]nm /usr/lib/libresolv.so | grep dn_skipname
358:[515]       |     23828|     116|FUNC |GLOB |0    |11     |__dn_skipname
450:[47]        |     44656|      12|FUNC |LOCL |0    |11     |dn_skipname

On Solaris2.5.1,

bash-2.01$ nm /usr/lib/libresolv.so | grep dn_skipname
[241]   |     10352|      96|FUNC |GLOB |0    |7      |dn_skipname

I want to keep the same binary between 2.5.1 and 2.6. Is it possible??

Anyway, I dont understand why they made such a change??? ANY REASON!?!?

Thanks in advance,

best regards,

-Yoshi

-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-


NK-Exa Corporation
Network Management System Product Dept. R&D

Solid Square East Tower 16F 580 Horikawa-cho,
Saiwai-ku, Kawasaki, Kanagawa, 210 JAPAN

TEL: +81-44-540-2185        FAX: +81-44-540-2393

-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-

 
 
 

DNS search between Solaris2.5.1 and Solaris2.6

Post by Casper H.S. Dik - Network Security Engine » Sat, 21 Feb 1998 04:00:00


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>On Solaris2.6, dn_skipname becomes local function but __dn_skipname is
>newly defined, instead.

This is because of compliance to the defacto DNS standard.

Quote:>bash-2.01$ nm /usr/lib/libresolv.so | grep dn_skipname
>[241]   |     10352|      96|FUNC |GLOB |0    |7      |dn_skipname
>I want to keep the same binary between 2.5.1 and 2.6. Is it possible??

Yes.  Either you should link against libresolv.so.1 on 2.5.1; libresolv.so.1
still has dn_skipname as a GLOBAL symbol in 2.6.

Or you install the 2.5.1 patches (which you have installed, or you would
have linked against libresolv.so.1) and you use __dn_skipname()

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

1. Solaris2.6 TCP/IP faces Solaris2.5.1.

Hi,All.

I need an advice on the following:
I'm porting a tcp/ip client server application from Solaris2.5.1 to
Solaris2.6
On Solaris2.6 I'm getting different sockets behavior than on
Solaris2.5.1 , For example
accept function failed, or connection refused.

As there any change in the TCP/IP layer between those two operating
systems ?

Any help/suggestions will be appreciate
Eyal.

--
Eyal Haviv.
Product Manager.
Computer Associates.
Phone : +972-4-9592101.

2. X Server for Elsa Winner 1000 T3D?

3. Losing space from Solaris2.4 to Solaris2.5.1?

4. Lantronix Terminalserver + Solaris2.6

5. Does anyone have ssh binaries for Solaris2.5.1 or Solaris2.6?

6. redhat support

7. Solaris2.3 - Solaris2.5.1 captive accounts

8. stopping netbios domain requests with iptables

9. Solaris2.5.1 and DNS

10. Remote Mounting CDROM from one SOLARIS2.4 BOX to other SOLARIS2.4 BOX

11. Installing sed3.0 and Solaris2.4 vs sed3.0 and Solaris2.5

12. How I can mount CD Solaris2.0 Answer Book in Solaris2.5

13. Fun Upgrading Solaris2.1 to Solaris2.3