PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : MAT: Mac version



lucsch
03.08.2014, 14:18
Today I downloaded the latest version.
After setting the DYLD_LIBRARY_PATH, I started the program and got this messages:


dyld: Library not loaded: libBoxSupporter.0.dylib
Referenced from: /Users/lucscholte/Admin_Tool_2.1_Mac/111-Admin_Tool_v2.2_Mac/./Admin_Tool_v2.2.app/Contents/MacOS/stb_admin
Reason: Incompatible library version: stb_admin requires version 0.1.0 or later, but libBoxSupporter.0.dylib provides version 0.0.0
Trace/BPT trap: 5

morly
03.08.2014, 14:22
please show me the content of your folder containing the libBxSupporter dylib's
do this with:

ls -l

lucsch
03.08.2014, 14:27
-rwxr-xr-x@ 1 lucscholte staff 117764 1 aug 12:05 libBoxSupporter.0.1.0.dylib
-rwxr-xr-x@ 1 lucscholte staff 117764 1 aug 12:05 libBoxSupporter.0.1.dylib
-rwxr-xr-x@ 1 lucscholte staff 117764 1 aug 12:05 libBoxSupporter.0.dylib
-rwxr-xr-x@ 1 lucscholte staff 117764 1 aug 12:05 libBoxSupporter.dylib

morly
03.08.2014, 14:31
rm libBoxSupporter.0.1.dylib
rm libBoxSupporter.0.dylib
rm libBoxSupporter.dylib
ln -s libBoxSupporter.0.1.0.dylib libBoxSupporter.0.1.dylib
ln -s libBoxSupporter.0.1.0.dylib libBoxSupporter.0.dylib
ln -s libBoxSupporter.0.1.0.dylib libBoxSupporter.dylib

lucsch
03.08.2014, 15:03
Morly,
Thanks for your quick replay. (and that during your holidays)
The ln solution makes it cleaner, but was not the solution. The problem I had was because I had some old libs in /usr/local/lib
and I did not set the DYLD_LIBRARY_PATH correct.
After the cleanup and the correct DYLD_LIBRARY_PATH, AT is starting and I can connect to an IP9000.
Thank you very much for your help, but don't forget to enjoy your holidays.

morly
03.08.2014, 16:32
maybe you can type down some infos how you organized to start the tool using a mac - some mac users would like a kind of manual ;)

- - - Aktualisiert - - -

and we can add this info at the at manual!

lucsch
03.08.2014, 17:34
I work on it. You will see it soon.

morly
03.08.2014, 17:40
great, thanks :)

lucsch
03.08.2014, 18:49
Before you install the Admin Tool 2.2 you need to install the Qt-libraries.
You can find them at qt-project.org/downloads. On that site click on show Downloads
and look for version Qt 4.8. That is the one you need. Download and install.


From HDMU Board download from UploadCenter
STB Admin Tool v2.x - Mac
STB Admin Tool v2.0 - libzip 0.11 for Mac


You now have 2 files in the Downloads:
111-Admin_Tool_v2.2_Mac.zip
80-libzip_0.11_MAC.zip


Move those files to a convenient plase, for example your home directory.


Dubbel click on 111-Admin_Tool_v2.2_Mac.zip
Dubbel click on 80-libzip_0.11_MAC.zip


You now have two directories called 111-Admin_Tool_v2.2_Mac and 80-libzip_0.11_MAC
You can rename it or just leave it as it is.


7865


Now move the files from 80-libzip_0.11_MAC to BoxSupporter.

7866


Now open a terminal session and go to the Admin_Tool directory.


Give the command:


export DYLD_LIBRARY_PATH=/path/to/BoxSupporter:$DYLD_LIBRARY_PATH




Now you can start by:


./Admin_Tool_v2.2.app/Contents/MacOS/stb_admin

- - - Updated - - -

Morly,

A start.
I am also looking for the dubbel click start by making a apple-script, but that will take some time.

lucsch
04.08.2014, 01:13
I made some scripts to start the Admin Tool just by dubbel clicking.
In the attachment are two files, AT_start and start_MAT.sh.
Put those files in the same directory as the program Admin_tool_v2.2.

7867

Now you can start by dubbel click on AT_Start. (No need to set any environment. )

7868

morly
04.08.2014, 08:58
Thats great lucsch, many thanks!
I put it into the upload section of AT-Mac (hope this is fine for your)

one question: could you make a last fine-tuning? start_MAT.sh contains the current version 2.2 - can you make the start script more general to working with future releases, too?
I would then include these files already in the download package of the future releases...

lucsch
04.08.2014, 10:08
Not an elegant solution but it wil work for future versions.

7869

morly
04.08.2014, 10:30
hm... as long no one puts two version into the same directory - everything's fine

lucsch
04.08.2014, 16:41
OK then. By this one you can have multiple versions in the directory, as long as the name (Admin_Tool_v....) is right, it will take the latest.
If you want to use this one, we might remove the others.


7870

morly
04.08.2014, 23:27
That's it now... thx :)