Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DSS 3.0.1-338, FreeBSD 4.3-Stable, Undef Symbol



Howdy,

Setting up the Darwin Streaming Server under FreeBSD 4.3-stable, when
trying to add a user vis qtpasswd, I get this error:

I guess this is also what's preventing me from changing the default
password in the webadmin interface, too.

-------

[root@zaius:/etc/streaming]# qtpasswd qtusers billt
Adding user billt
New password:
Re-type new password:
/usr/libexec/ld-elf.so.1: qtpasswd: Undefined symbol "MD5Init"

[root@zaius:/etc/streaming]# ldd `which qtpasswd`
/usr/local/bin/qtpasswd:
        libm.so.2 => /usr/lib/libm.so.2 (0x28068000)
        libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28083000)
        libc_r.so.4 => /usr/lib/libc_r.so.4 (0x2809c000)

[root@zaius:/etc/streaming]# nm  -D /usr/lib/libcrypt.so.2 | grep MD5
000045c8 T __MD5Final
00004470 T __MD5Init
00004560 T __MD5Pad
000044a4 T __MD5Update

[root@zaius:/usr/lib]# for f in *.so ; do nm -A -D $f | grep MD5Init; done
libatm.so:         U MD5Init
libcrypt.so:00004470 T __MD5Init
libdescrypt.so:00004470 T __MD5Init
libkrb5.so:         U MD5Init
libmd.so:000064a4 T MD5Init
libopie.so:         U MD5Init
libradius.so:         U MD5Init
libscrypt.so:000018e0 T __MD5Init
libtacplus.so:         U MD5Init

[root@zaius:/etc/streaming]# export LD_PRELOAD=/usr/lib/libopie.so;\
                             qtpasswd qtusers streamer
Adding user streamer
New password:
Re-type new password:
[root@zaius:/etc/streaming]#

and the user is added :-)
I can also change the streamingadmin password this way too.
-----

Hope this is helpful to you. I really like the idea of an opensource
streaming server, esp. from Apple!

Thanks,
Bill




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.