[OpenIndiana-discuss] __deregister_frame_info_bases

Мартин Бохниг opensxce at mail.ru
Thu Sep 8 18:03:53 UTC 2016


Interesting,

because in 

$ nm /lib/libsocket.so.1|grep deregister_frame_info_bases
         w __deregister_frame_info_bases

it is defined as weak symbol:

$ man nm

          "W"
           "w" The symbol is a weak symbol that has not been specifically
               tagged as a weak object symbol.  When a weak defined symbol is
               linked with a normal defined symbol, the normal defined symbol
               is used with no error.  When a weak undefined symbol is linked
               and the symbol is not defined, the value of the symbol is
               determined in a system-specific manner without error.  On some
               systems, uppercase indicates that a default value has been
               specified.

Apostolos didn't state which version of the src tree he uses, but probably the newest one?

nspluginwrapper-1.4.4?

In its entire src there is at no single place any mention of (shortened search string) "deregister_frame_info_bases" so perhaps it's in the symbols table of the LinUX plugin binary (?)

I don't have the Flash plugin for LinUX at hand nor ever spent time with this wrapper, but it looks quite interesting/promising. Also from what its README states.

Download
nspluginwrapper is packaged by most Linux distributions and can be installed from your distribution's repository. To get the most recent version, you can also build from source.
 Name                         Last modified      Size  Description
 MD5SUMS                      2012-07-29 11:54  252   
 SHA1SUMS                     2012-07-29 11:54  284   
 nspluginwrapper-1.3.2.tar.gz 2012-07-29 11:54  401K  
 nspluginwrapper-1.4.0.tar.gz 2012-07-29 11:54  403K  
 nspluginwrapper-1.4.2.tar.gz 2012-07-29 11:54  403K  
 nspluginwrapper-1.4.4.tar.gz 2012-07-29 11:54  403K  
Copyright © 2011 David Benjamin
nspluginwrapper originally written by Gwenole Beauchesne


On the other hand I wonder if it is still in maintainance or even under development.
Perhaps they have some github elsewhere?

Their Downloads section looks a bit old, but on the other hand the wrapper itself may simply be stable and no development is needed.
We can cheack later if we get it working ;)


Anyways thanks to Apostolos for bringing this up.
Maybe simply another ld option and you may get it working.

@Apostolos: Too bad you didn't tell what you changed to come that far, because by default it won't at least configure.
So I cannot quickly (without hassle) re-create your scenario and hence cannot tell you what you are missing.
The first thing it appears to depend on are GNU tools.



%martin bochnig



>Четверг,  8 сентября 2016, 14:12 UTC от "Udo Grabowski (IMK)" <udo.grabowski at kit.edu>:
>
>On 08/09/2016 14:20, Apostolos Syropoulos via openindiana-discuss wrote:
>> Hello,
>>
>> I am trying to compile nspluginwrapper but there are a few problems.
>> I think I have fixed all the problems and now it compiles and links
>> with no problem. In order to "install" the linux flash plugin I have
>> to enter the following commands:
>>
>>
>> $ nspluginwrapper -v -a -i
>> Auto-install plugins from /home/apostolo/.mozilla/plugins
>> Looking for plugins in /home/apostolo/.mozilla/plugins
>> $ nspluginwrapper -v -a -u
>> Auto-update plugins from /home/apostolo/.mozilla/plugins
>> Looking for plugins in /home/apostolo/.mozilla/plugins
>> ld.so.1: npconfig: fatal: relocation error: file /lib/libsocket.so.1: symbol __deregister_frame_info_bases: referenced symbol not found
>> Killed
>>
>> Obviously, the second command fails but I have no idea what is the problem.
>> Since I cannot post messages sto Illumos-discuss, I am posting here in the
>> hope that someone might have an idea what might cause this problem.
>>
>
>On an old oi151a9, I see this symbol in
>libgcc_s.so and libsecdb.so:
>
># nm /usr/lib/amd64/libgcc_s.so
>[543]| 95440 |  451|FUNC |GLOB |0 |15 |__deregister_frame_info_bases
>
>
># nm /usr/lib/amd64/libsecdb.so
>[453] | 87680| 456|FUNC |GLOB |0 |16 |__deregister_frame_info_bases
>
>-- 
>Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
>http://www.imk-asf.kit.edu/english/sat.php
>KIT - Karlsruhe Institute of Technology  http://www.kit.edu
>Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
>
>_______________________________________________
>openindiana-discuss mailing list
>openindiana-discuss at openindiana.org
>https://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the openindiana-discuss mailing list