PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 277 - dyld: Library not loaded: libgenrunner.0.6.dylib
: dyld: Library not loaded: libgenrunner.0.6.dylib
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: Shiboken
: HEAD
: Macintosh Mac OS
: P5 normal
Assigned To: Marcelo Lira
:
:
:
  Show dependency treegraph
 
Reported: 2010-08-03 08:54 EEST by Stefan
Modified: 2010-09-10 19:26 EEST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan 2010-08-03 08:54:21 EEST
Generatorruner seems to search for libgenrunner.x.y.dylib only in the current
directory, so you can only execute it from the diretory containging that
library.

It builds and installs sucessfully, but building shiboken will fail when it
tries to test generatorrunner:

    $ /Users/stefan/Code/PySide/sandbox/bin/generatorrunner
--generatorSet=/Users/stefan/Code/PySide/shiboken/shiboken_generator
--enable-parent-ctor-heuristic
/Users/stefan/Code/PySide/shiboken/tests/samplebinding/global.h
--include-paths=/Users/stefan/Code/PySide/shiboken/tests/libsample
--typesystem-paths=/Users/stefan/Code/PySide/shiboken/tests/samplebinding
--output-directory=/Users/stefan/Code/PySide/shiboken/tests/samplebinding
/Users/stefan/Code/PySide/shiboken/tests/samplebinding/typesystem_sample.xml
    dyld: Library not loaded: libgenrunner.0.6.dylib
      Referenced from: /Users/stefan/Code/PySide/sandbox/bin/generatorrunner
      Reason: image not found
    Trace/BPT trap


When I execute the same commando from with my sandbox’ lib-dir I only get 11
warnings (3 known issues):

    $ generatorrunner [...]
    ./sys.framework/Headers/_types.h
   
/Users/stefan/Code/PySide/shiboken/tests/libsample/sys.framework/Headers/_types.h
    ./sys.framework/Headers/cdefs.h
   
/Users/stefan/Code/PySide/shiboken/tests/libsample/sys.framework/Headers/cdefs.h
    ./machine.framework/Headers/_types.h
   
/Users/stefan/Code/PySide/shiboken/tests/libsample/machine.framework/Headers/_types.h
    Generating class model...                    [WARNING]
    File for inject code not exist: simplefile_glue.cpp
    File containing conversion code for std::map type does not exist or is not
redable: map_conversions.h
    File containing conversion code for OddBool type does not exist or is not
redable: oddbool_conversions.h
    File containing conversion code for Complex type does not exist or is not
redable: complex_conversions.h
    File containing conversion code for std::list type does not exist or is not
redable: list_conversions.h
    File containing conversion code for std::pair type does not exist or is not
redable: pair_conversions.h


    Generating enum model...                     [OK]
    Generating namespace model...                [OK]
    Resolving typedefs...                        [OK]
    Fixing class inheritance...                  [OK]
    Detecting inconsistencies in class model...  [WARNING]
    hiding of function 'takeChild' in class 'ObjectType'
    visibility of function 'publicMethod' modified in class 'SonOfMDerived1'
    hiding of function 'takeChild' in class 'Bucket'
    visibility of function 'publicMethod' modified in class 'MDerived1'
    hiding of function 'takeChild' in class 'ObjectView'


    Detecting inconsistencies in typesystem...   [OK]

    Done, 11 warnings (3 known issues)