1 Jul 2003 02:46
Re: Export Symbols from shared library without source
Eugene Teo <eugene.teo <at> eugeneteo.net>
2003-07-01 00:46:57 GMT
2003-07-01 00:46:57 GMT
> > LD_PRELOAD=/topath/to/libdriver.so > > export LD_PRELOAD > > > > I get: > > > > insmod ./interceptor.ko > > insmod: error while loading shared libraries: > > /path/to/libdriver.so: ELF file's phentsize not the > > expected size > > Using LD_PRELOAD to pre-load a library is a facility useful > for user applications. This will not help in whatever you > are trying to do. The error you are seeing is not from > insmod, it's from the run-time linker. If you had run 'ls' > instead of insmod, you would have seen the same error. Enlightened. And yes, I get the same error whenever i execute something. A constant reminder. > > > insmod ./interceptor.ko > > > Error inserting './interceptor.ko': -1 Unknown symbol in module > > > > > > And in my log, I get this: > > > > > > Jun 28 11:22:44 philyra kernel: interceptor: Unknown symbol > > CniPluginUnload > > > Jun 28 11:22:44 philyra kernel: interceptor: Unknown symbol > > CNICallbackTable > > > ... > > > ...(Continue reading)
RSS Feed