From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ab79189e453bd5cc,start X-Google-Attributes: gidfee84,public From: tom@finwds01.tu-graz.ac.at (Thomas Leitner) Subject: Avoiding: /sbin/loader: Fatal Error: cannot map libdnet.so Date: 1996/02/22 Message-ID: <4gi87l$hc2@fstgal00.tu-graz.ac.at>#1/1 X-Deja-AN: 140572789 organization: Graz University of Technology, Austria newsgroups: comp.unix.osf.osf1 Hi, I'm writing a client/server app. which communicates over both, TCP/IP and DecNet Phase IV. Currently I got two different executable files, one for TCP/IP and one for DecNet, say client_tcpip and client_decnet. Now I want to put the support for both protocols into one file and change the protocol per software. Now my problem is that: When there is no DecNet installed on a particular Alpha box I get: 2003:client_decnet: /sbin/loader: Fatal Error: cannot map libdnet.so Question: How can I avoid that and catch this error in my program? Thanks a lot -- Tom -- Tom Leitner, tom@finwds01.tu-graz.ac.at |\ _,,,---,,_ Dept. of Communications zzz. /,`.-'`' -. ;-;;,_. Graz University of Technology |,4- ) )-,_. ,\ ( `'-' Inffeldgasse 12 '---''(_/--' `-'\_) A-8010 Graz / Austria / Europe, Phone: +43-316-873-7455, Fax: +43-316-463-697 WWW home page: http://wiis.tu-graz.ac.at/people/tom.html