Skip to contentSkip to conversation

Flash 9

DISCUSSION Lee Revell 4 participants 6 messages Oct 24, 2006 – Oct 26, 2006

lore
Share & tools
lore

Lee Revell

author
#0 lore raw

Is it legal for a proprietary application to incorporate alsa-lib by static linking? I thought this required an LGPL exception.

Because contrary to what Adobe says, this is what the new Flash 9 beta does:

$ ldd .mozilla/plugins/libflashplayer.so | grep asound 
$
$ strings .mozilla/plugins/libflashplayer.so | grep snd_
snd_pcm_open
snd_pcm_close
snd_pcm_start
snd_pcm_drop
snd_pcm_prepare
snd_pcm_resume
snd_pcm_hw_params_sizeof
snd_pcm_sw_params_sizeof
snd_pcm_status_sizeof
snd_pcm_info
snd_pcm_info_get_id
snd_pcm_info_get_name
snd_pcm_hw_params_any
snd_pcm_hw_params_set_access
snd_pcm_hw_params_set_format
snd_pcm_hw_params
snd_pcm_sw_params_current
snd_pcm_sw_params

Etc.

Lee

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#1 lore raw
Quoted 3 lines · Lee Revell

Is it legal for a proprietary application to incorporate alsa-lib by static linking? I thought this required an LGPL exception.

They'd have to provide the object files and a linker script to relink the lib.

Quoted 26 lines

Because contrary to what Adobe says, this is what the new Flash 9 beta does:

$ ldd .mozilla/plugins/libflashplayer.so | grep asound 
$
$ strings .mozilla/plugins/libflashplayer.so | grep snd_
snd_pcm_open
snd_pcm_close
snd_pcm_start
snd_pcm_drop
snd_pcm_prepare
snd_pcm_resume
snd_pcm_hw_params_sizeof
snd_pcm_sw_params_sizeof
snd_pcm_status_sizeof
snd_pcm_info
snd_pcm_info_get_id
snd_pcm_info_get_name
snd_pcm_hw_params_any
snd_pcm_hw_params_set_access
snd_pcm_hw_params_set_format
snd_pcm_hw_params
snd_pcm_sw_params_current
snd_pcm_sw_params
Quoted 4 lines

Etc.

Lee

Because you find those strings in the library, doesn't necessarily mean, that there is code from libasound in this library.

-> man dlopen

Juergen

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

author
#2 lore raw
Quoted 4 lines · Juergen Hennerich

Because you find those strings in the library, doesn't necessarily mean, that there is code from libasound in this library.

-> man dlopen

Ah, I see. Why would one use dlopen() for some libraries but regular dynamic linking for others?

Lee

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#3 lore raw

Am Mittwoch 25 Oktober 2006 00:32 schrieb Lee Revell:

Quoted 8 lines · Juergen Hennerich
Quoted 4 lines

Because you find those strings in the library, doesn't necessarily mean, that there is code from libasound in this library.

-> man dlopen

Ah, I see. Why would one use dlopen() for some libraries but regular dynamic linking for others?

To not be dependant on the lib. The prog will still work in dlopen case.

Signature · 3 lines
(°=                 =°)
//\ Prakash Punnoor /\\
V_/                 \_V

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#4 lore raw
Quoted 11 lines · Prakash Punnoor

Am Mittwoch 25 Oktober 2006 00:32 schrieb Lee Revell:

Quoted 7 lines · Juergen Hennerich
Quoted 4 lines

Because you find those strings in the library, doesn't necessarily mean, that there is code from libasound in this library.

-> man dlopen

Ah, I see. Why would one use dlopen() for some libraries but regular dynamic linking for others?

To not be dependant on the lib. The prog will still work in dlopen case.

I guess, they could have achieved the same with weak linking. I don't know if there are really any technical reasons to prefer dlopen/dlsym over weak linking, or if that is just a matter of taste.

Juergen

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#5 lore raw
In reply to Juergen Hennerich
Quoted 33 lines · Juergen Hennerich
Quoted 3 lines · Lee Revell

Is it legal for a proprietary application to incorporate alsa-lib by static linking? I thought this required an LGPL exception.

They'd have to provide the object files and a linker script to relink the lib.

Quoted 26 lines

Because contrary to what Adobe says, this is what the new Flash 9 beta does:

$ ldd .mozilla/plugins/libflashplayer.so | grep asound 
$
$ strings .mozilla/plugins/libflashplayer.so | grep snd_
snd_pcm_open
snd_pcm_close
snd_pcm_start
snd_pcm_drop
snd_pcm_prepare
snd_pcm_resume
snd_pcm_hw_params_sizeof
snd_pcm_sw_params_sizeof
snd_pcm_status_sizeof
snd_pcm_info
snd_pcm_info_get_id
snd_pcm_info_get_name
snd_pcm_hw_params_any
snd_pcm_hw_params_set_access
snd_pcm_hw_params_set_format
snd_pcm_hw_params
snd_pcm_sw_params_current
snd_pcm_sw_params
Quoted 8 lines
Quoted 4 lines

Etc.

Lee

Because you find those strings in the library, doesn't necessarily mean, that there is code from libasound in this library.

-> man dlopen

Flash player does use dlopen() so everything is fine.

Signature · 9 lines
Måns Rullgård
[email protected]


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642