On Apr 1, 2014 3:01 PM, "Chad Miller" <chad.mil...@canonical.com> wrote:
>
> ldd against what?  I know nothing of Mono or its dynamic linker.

ldd of libstfl.so.0

>
>
> $ ldd /usr/lib/smuxi/smuxi-frontend-stfl.exe
> not a dynamic executable
>
> $ file !$
> file /usr/lib/smuxi/smuxi-frontend-stfl.exe
> /usr/lib/smuxi/smuxi-frontend-stfl.exe: PE32 executable (console) Intel
> 80386 Mono/.Net assembly, for MS Windows
>
> $ ldd /usr/lib/libstfl.so.0
> linux-vdso.so.1 =>  (0x00007fffa5ff7000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x00007f1b4a5a6000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b4a1e0000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f1b4a9ef000)

And here is the issue, it doesn't link ncursesw but it needs its symbols.
Thus smuxi fails using stfl dynamically via dlopen (that is what Mono does)

>
>
>
> On Mon, Mar 31, 2014 at 6:15 PM, Mirco Bauer <mee...@gmail.com> wrote:
>
> > STFL is probably incorrectly linked, check the output of ldd
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1300299
> >
> > Title:
> >   smuxi stfl hangs on start
> >
> > Status in "smuxi" package in Ubuntu:
> >   New
> >
> > Bug description:
> >   2014-03-31 11:50:17,458 [-628353088] INFO
 Smuxi.Frontend.Stfl.MainClass
> > - Registering signal handlers
> >   2014-03-31 11:50:17,489 [Main] DEBUG TRACE - [smuxi-frontend-stfl.exe]
> > Frontend.Init(engine = 'zippy')
> >   2014-03-31 11:50:17,491 [Main] INFO  Smuxi.Frontend.Stfl.Frontend -
> > Smuxi - STFL frontend 0.11.0.0 starting
> >   2014-03-31 11:50:17,510 [Main] FATAL Smuxi.Frontend.Stfl.MainClass -
> > System.DllNotFoundException: libstfl.so.0
> >     at (wrapper managed-to-native) Stfl.StflApi:stfl_create (intptr)
> >     at Stfl.StflApi.stfl_create (System.String text) [0x00000] in
> > <filename unknown>:0
> >     at Stfl.Form..ctor (System.Reflection.Assembly assembly,
System.String
> > resourceName) [0x00000] in <filename unknown>:0
> >     at Smuxi.Frontend.Stfl.MainWindow..ctor () [0x00000] in <filename
> > unknown>:0
> >     at Smuxi.Frontend.Stfl.Frontend.Init (System.String engine)
[0x00000]
> > in <filename unknown>:0
> >     at Smuxi.Frontend.Stfl.MainClass.Main (System.String[] args)
[0x00000]
> > in <filename unknown>:0
> >
> >
> >   Can't find stfl library?
> >
> >   Strace says it did.
> >
> >   open("/usr/lib/smuxi/libstfl.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No
> > such file or directory)
> >   open("/usr/lib/smuxi/libstfl.so.0.la", O_RDONLY) = -1 ENOENT (No such
> > file or directory)
> >   open("/usr/lib/smuxi/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT
> > (No such file or directory)
> >   open("/usr/lib/smuxi/libstfl.so.0.so.la", O_RDONLY) = -1 ENOENT (No
> > such file or directory)
> >   open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
> >   access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
> > directory)
> >   open("/usr/lib/libstfl.so.0", O_RDONLY|O_CLOEXEC) = 9
> >   open("libstfl.so.0.la", O_RDONLY)       = -1 ENOENT (No such file or
> > directory)
> >   open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
> >   access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
> > directory)
> >   open("/lib/x86_64-linux-gnu/tls/x86_64/libstfl.so.0.so",
> > O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> >   stat("/lib/x86_64-linux-gnu/tls/x86_64", 0x7fffe9c7e150) = -1 ENOENT
(No
> > such file or directory)
> >   open("/lib/x86_64-linux-gnu/tls/libstfl.so.0.so", O_RDONLY|O_CLOEXEC)
=
> > -1 ENOENT (No such file or directory)
> >   stat("/lib/x86_64-linux-gnu/tls", 0x7fffe9c7e150) = -1 ENOENT (No such
> > file or directory)
> >   open("/lib/x86_64-linux-gnu/x86_64/libstfl.so.0.so",
> > O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> >   stat("/lib/x86_64-linux-gnu/x86_64", 0x7fffe9c7e150) = -1 ENOENT (No
> > such file or directory)
> >   open("/lib/x86_64-linux-gnu/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1
> > ENOENT (No such file or directory)
> >   stat("/lib/x86_64-linux-gnu", {st_mode=S_IFDIR|0755, st_size=16384,
> > ...}) = 0
> >   open("/usr/lib/x86_64-linux-gnu/tls/x86_64/libstfl.so.0.so",
> > O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> >   stat("/usr/lib/x86_64-linux-gnu/tls/x86_64", 0x7fffe9c7e150) = -1
ENOENT
> > (No such file or directory)
> >   open("/usr/lib/x86_64-linux-gnu/tls/libstfl.so.0.so",
> > O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> >   stat("/usr/lib/x86_64-linux-gnu/tls", 0x7fffe9c7e150) = -1 ENOENT (No
> > such file or directory)
> >   open("/usr/lib/x86_64-linux-gnu/x86_64/libstfl.so.0.so",
> > O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> >   stat("/usr/lib/x86_64-linux-gnu/x86_64", 0x7fffe9c7e150) = -1 ENOENT
(No
> > such file or directory)
> >   open("/usr/lib/x86_64-linux-gnu/libstfl.so.0.so", O_RDONLY|O_CLOEXEC)
=
> > -1 ENOENT (No such file or directory)
> >   stat("/usr/lib/x86_64-linux-gnu", {st_mode=S_IFDIR|0755,
st_size=81920,
> > ...}) = 0
> >   open("/lib/tls/x86_64/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1
ENOENT
> > (No such file or directory)
> >   stat("/lib/tls/x86_64", 0x7fffe9c7e150) = -1 ENOENT (No such file or
> > directory)
> >   open("/lib/tls/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
> > such file or directory)
> >   stat("/lib/tls", 0x7fffe9c7e150)        = -1 ENOENT (No such file or
> > directory)
> >   open("/lib/x86_64/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No
> > such file or directory)
> >   stat("/lib/x86_64", 0x7fffe9c7e150)     = -1 ENOENT (No such file or
> > directory)
> >   open("/lib/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
> > file or directory)
> >   stat("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> >   open("/usr/lib/tls/x86_64/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1
> > ENOENT (No such file or directory)
> >   stat("/usr/lib/tls/x86_64", 0x7fffe9c7e150) = -1 ENOENT (No such file
or
> > directory)
> >   open("/usr/lib/tls/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT
> > (No such file or directory)
> >   stat("/usr/lib/tls", 0x7fffe9c7e150)    = -1 ENOENT (No such file or
> > directory)
> >   open("/usr/lib/x86_64/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1
ENOENT
> > (No such file or directory)
> >   stat("/usr/lib/x86_64", 0x7fffe9c7e150) = -1 ENOENT (No such file or
> > directory)
> >   open("/usr/lib/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
> > such file or directory)
> >   stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=28672, ...}) = 0
> >   open("libstfl.so.0.so.la", O_RDONLY)    = -1 ENOENT (No such file or
> > directory)
> >   open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
> >   access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
> > directory)
> >   open("/usr/lib/libstfl.so.0", O_RDONLY|O_CLOEXEC) = 9
> >   open("libstfl.so.0.la", O_RDONLY)       = -1 ENOENT (No such file or
> > directory)
> >   open("/usr/lib/smuxi/libstfl.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No
> > such file or directory)
> >   open("/usr/lib/smuxi/libstfl.so.0.la", O_RDONLY) = -1 ENOENT (No such
> > file or directory)
> >   open("/usr/lib/smuxi/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT
> > (No such file or directory)
> >   open("/usr/lib/smuxi/libstfl.so.0.so.la", O_RDONLY) = -1 ENOENT (No
> > such file or directory)
> >   open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
> >   access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
> > directory)
> >   open("/usr/lib/libstfl.so.0", O_RDONLY|O_CLOEXEC) = 9
> >   open("libstfl.so.0.la", O_RDONLY)       = -1 ENOENT (No such file or
> > directory)
> >   open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
> >   access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
> > directory)
> >   open("/lib/x86_64-linux-gnu/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1
> > ENOENT (No such file or directory)
> >   open("/usr/lib/x86_64-linux-gnu/libstfl.so.0.so", O_RDONLY|O_CLOEXEC)
=
> > -1 ENOENT (No such file or directory)
> >   open("/lib/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
> > file or directory)
> >   open("/usr/lib/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
> > such file or directory)
> >   open("libstfl.so.0.so.la", O_RDONLY)    = -1 ENOENT (No such file or
> > directory)
> >   open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
> >   access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
> > directory)
> >   open("/usr/lib/libstfl.so.0", O_RDONLY|O_CLOEXEC) = 9
> >   open("libstfl.so.0.la", O_RDONLY)       = -1 ENOENT (No such file or
> > directory)
> >
> >
> >   $ dpkg -S /usr/lib/libstfl.so.0
> >   libstfl0: /usr/lib/libstfl.so.0
> >
> >   ProblemType: Bug
> >   DistroRelease: Ubuntu 14.04
> >   Package: smuxi-frontend-stfl 0.11~rc5-1
> >   Uname: Linux 3.14.0-031400rc7-generic x86_64
> >   ApportVersion: 2.13.3-0ubuntu1
> >   Architecture: amd64
> >   CurrentDesktop: Unity
> >   Date: Mon Mar 31 11:49:54 2014
> >   EcryptfsInUse: Yes
> >   PackageArchitecture: all
> >   SourcePackage: smuxi
> >   UpgradeStatus: No upgrade log present (probably fresh install)
> >
> > To manage notifications about this bug go to:
> >
https://bugs.launchpad.net/ubuntu/+source/smuxi/+bug/1300299/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1300299
>
> Title:
>   smuxi stfl hangs on start
>
> To manage notifications about this bug go to:
>
https://bugs.launchpad.net/ubuntu/+source/smuxi/+bug/1300299/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1300299

Title:
  smuxi stfl hangs on start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/smuxi/+bug/1300299/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to