Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 1999 11:52:43 -0500 (EST)
From:      "Andrew Atrens" <atrens@nortelnetworks.com>
To:        current@freebsd.org
Subject:   framemaker for linux
Message-ID:  <Pine.BSF.4.21.9912161136160.8407-100000@hcarp00g.ca.nortel.com>

next in thread | raw e-mail | index | archive | help

All,

This might be a linux ABI question, or it might be an `ld.so' question,
so arguably I could have sent this to emulation, questions or since I run
-current, current, or perhaps hackers, at any rate here goes -


I've got `framemaker for linux' and am getting -

# maker5X.exe 
maker5X.exe: error in loading shared libraries
: undefined symbol: __register_frame_info

 # nm -A *.exe *.so | grep __register_frame_info
maker5X.exe:         U __register_frame_info
libjpeg.so:0001fb50 T __register_frame_info
libjpeg.so:0001fbd0 T __register_frame_info_table
libpbm.so:00004d40 T __register_frame_info
libpbm.so:00004dc0 T __register_frame_info_table
libpgm.so:00001b40 T __register_frame_info
libpgm.so:00001bc0 T __register_frame_info_table
libpng.so:00018f40 T __register_frame_info
libpng.so:00018fc0 T __register_frame_info_table
libpnm.so:00003b30 T __register_frame_info
libpnm.so:00003bb0 T __register_frame_info_table
libppm.so:00005290 T __register_frame_info
libppm.so:00005310 T __register_frame_info_table
libz.so:0000c140 T __register_frame_info
libz.so:0000c1c0 T __register_frame_info_table


I've done the brandelf thing, and the LD_LIBRARY_PATH thing, and even
tried LD_IGNORE_MISSING_OBJECTS to no avail.

Here's what truss says -


# truss ./maker5X.exe 
syscall linux_brk(0x0)
	returns 141787136 (0x8738000)
syscall linux_open("/etc/ld.so.preload",0,05033211710)
	returns 3 (0x3)
syscall linux_newfstat(3,0xbfbff2e4)
	returns 0 (0x0)
syscall linux_mmap(0xbfbff320)
	returns 678195200 (0x286c7000)
syscall close(3)
	returns 0 (0x0)
syscall munmap(0x286c7000,0x0)
	returns 0 (0x0)
syscall linux_open("./libm.so.6",0,015133027456)
	errno -2 'No such file or directory'
syscall linux_open("/etc/ld.so.cache",0,05033211710)
	returns 3 (0x3)
syscall linux_newfstat(3,0xbfbff1e4)
	returns 0 (0x0)
syscall linux_mmap(0xbfbff220)
	returns 678240256 (0x286d2000)
syscall close(3)
	returns 0 (0x0)
syscall linux_open("/lib/libm.so.6",0,05033211710)
	returns 3 (0x3)
syscall linux_mmap(0xbfbff22c)
	returns 678252544 (0x286d5000)
syscall munmap(0x286d5000,0x1000)
	returns 0 (0x0)
syscall linux_mmap(0xbfbff1d8)
	returns 678252544 (0x286d5000)
syscall mprotect(0x286ed000,0x6e0,0x0)
	returns 0 (0x0)
syscall linux_mmap(0xbfbff1d8)
	returns 678350848 (0x286ed000)
syscall close(3)
	returns 0 (0x0)
syscall linux_open("./libc.so.6",0,015133027456)
	errno -2 'No such file or directory'
syscall linux_open("/lib/libc.so.6",0,05033211710)
	returns 3 (0x3)
syscall linux_mmap(0xbfbff21c)
	returns 678354944 (0x286ee000)
syscall munmap(0x286ee000,0x1000)
	returns 0 (0x0)
syscall linux_mmap(0xbfbff1c8)
	returns 678354944 (0x286ee000)
syscall mprotect(0x2877f000,0x133c8,0x0)
	returns 0 (0x0)
syscall linux_mmap(0xbfbff1c8)
	returns 678948864 (0x2877f000)
syscall linux_mmap(0xbfbff1c8)
	returns 678981632 (0x28787000)
syscall close(3)
	returns 0 (0x0)
syscall linux_open("./libdl.so.2",0,015133027456)
	errno -2 'No such file or directory'
syscall linux_open("/lib/libdl.so.2",0,05033211710)
	returns 3 (0x3)
syscall linux_mmap(0xbfbff20c)
	returns 679030784 (0x28793000)
syscall munmap(0x28793000,0x1000)
	returns 0 (0x0)
syscall linux_mmap(0xbfbff1b8)
	returns 679030784 (0x28793000)
syscall mprotect(0x28795000,0x428,0x0)
	returns 0 (0x0)
syscall linux_mmap(0xbfbff1b8)
	returns 679038976 (0x28795000)
syscall close(3)
	returns 0 (0x0)
syscall munmap(0x286d2000,0x235b)
	returns 0 (0x0)
syscall linux_personality(0x0)
	returns 0 (0x0)
syscall getpid()
	returns 8490 (0x212a)
./maker5X.exesyscall write(2,0xbfbff71c,13)
	returns 13 (0xd)
: error in loading shared libraries
syscall write(2,0x286cf1c8,36)
	returns 36 (0x24)
syscall write(2,0x286ce9d4,0)
	returns 0 (0x0)
: syscall write(2,0x286cf1c2,2)
	returns 2 (0x2)
undefined symbol: __register_frame_infosyscall write(2,0xbfbff518,39)
	returns 39 (0x27)
syscall write(2,0x286cf1c7,0)
	returns 0 (0x0)
syscall write(2,0x286cf1c7,0)
	returns 0 (0x0)

syscall write(2,0x286cf1c5,1)
	returns 1 (0x1)
syscall exit(0x7f)
	process exit, rval = 32512


I'm probably missing something obvious. Any help y'all can provide would
be greatly appreciated!


Cheers,

Andrew.

-- 
+--
| Andrew Atrens                 Nortel Networks, Ottawa, Canada. |
| All opinions expressed are my own,  not those of any employer. |
                                                               --+
  Heller's Law: The first myth of management is that it exists.   
  Johnson's Corollary: Nobody really knows what is going on
                       anywhere within the organization.   



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9912161136160.8407-100000>