Fail to start Linux Mint 12 64-bit

Bugs & Suggestions
Post Reply
mttr
Posts: 4
Joined: Mon May 07, 2012 2:55 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
processor: I7-2600
ram: 16gb

Fail to start Linux Mint 12 64-bit

Post by mttr »

I cannot get ASP to start after installing it on Mint 12. The trace error is as follows.

Code: Select all

 strace -ff -o /tmp/as.log /usr/bin/AfterShotPro
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Install Path:           /opt/AfterShotPro
LD_PATH:                /opt/AfterShotPro/lib:
XLIB_SKIP_ARGB_VISUALS: 1
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/usr/bin/AfterShotPro: line 36: /opt/AfterShotPro/bin/AfterShotPro: No such file or directory
The ia32-libs has been reinstalled.
It install with no errors, however i don't see a .aftershotpro in the home dir

Can someone help
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Fail to start Linux Mint 12 64-bit

Post by afx »

There is a commented ldd line in the startup script /usr/bin/AfterShotPro.
Remove the comment character to see where the library dependencies run into problems.

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
spoilerhead
Posts: 133
Joined: Fri Jan 13, 2012 8:18 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Hard_Drive_Capacity: 13.5TB
Location: Vienna

Re: Fail to start Linux Mint 12 64-bit

Post by spoilerhead »

mttr wrote:

Code: Select all

 /usr/bin/AfterShotPro: line 36: /opt/AfterShotPro/bin/AfterShotPro: No such file or directory
This sounds like a seriously messed up installation to me. Please verify that /opt/AfterShotPro/bin/AfterShotPro actually exists
my ASP Plugins - donation button ( send beer! :) )
linux,7d, glass and a huge mug of coffee.
If you got any immediate problems with my plugins, don't by shy on contact me on GoogleTalk.
mttr
Posts: 4
Joined: Mon May 07, 2012 2:55 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
processor: I7-2600
ram: 16gb

Re: Fail to start Linux Mint 12 64-bit

Post by mttr »

the file is installed.
after uncommenting the line I get this

Code: Select all

 $ sh /usr/bin/AfterShotPro
sh: getcwd() failed: No such file or directory
Install Path:           /opt/AfterShotPro
LD_PATH:                /opt/AfterShotPro/lib:
XLIB_SKIP_ARGB_VISUALS: 1
	not a dynamic executable
exec: 41: ./AfterShotPro: not found

Code: Select all

strace -ff -o /tmp/as.log /usr/bin/AfterShotPro
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Install Path:           /opt/AfterShotPro
LD_PATH:                /opt/AfterShotPro/lib:
XLIB_SKIP_ARGB_VISUALS: 1
chdir: error retrieving current directory: 
getcwd: cannot access parent directories: No such file or directory not a dynamic executable 
/usr/bin/AfterShotPro: line 37: /opt/AfterShotPro/bin/AfterShotPro: No such file or directory
Attachments
Screenshot-AfterShotPro Properties.png
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Fail to start Linux Mint 12 64-bit

Post by afx »

Forget the strace, that is useless, you don't even load the executable.

ldd tells you clearly that the AfterShot binary is not considered a dynamic executable.

What did you use to install the program (rpm/deb/deb64)?
What is the md5sum and the size of /opt/AfterShotPro/bin/AfterShotPro?
This looks very much like a broken install.

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
andreas
Posts: 154
Joined: Thu Jan 12, 2012 1:53 pm
operating_system: Linux
System_Drive: X
32bit or 64bit: 64 Bit
motherboard: Asus in Workstation and Dell XPS Notebook
processor: i7-980 and i7-2720QM
ram: 12GB - 8GB
Video Card: ATI FireGL
sound_card: on board
Hard_Drive_Capacity: 4.5TB Rd10
Monitor/Display Make & Model: Samsung Syncmaster 2343sw
Location: DE - Wermelskirchen
Contact:

Re: Fail to start Linux Mint 12 64-bit

Post by andreas »

The shell fails to get the current working dir so it fails to load the application. Is sh a bash? If not try to start with bash. Another problem may be missing 32 bit libs.

Andreas
Linux - not Windows
mttr
Posts: 4
Joined: Mon May 07, 2012 2:55 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
processor: I7-2600
ram: 16gb

Re: Fail to start Linux Mint 12 64-bit

Post by mttr »

Ok finally after taken a big break i was able to get ASP to start. I did the following and seems to work almost
1. dpkg -P aftershotpro
2. deleted .Aftershotpro
3. Reinstalled the AfterShotPro_amd64.deb (ver.1.01.10)
4. in terminal (not root) typed AfterShotPro

seems to work, but the are no laucher icon under graphics or any other items.
can only start via termial

What gives ?
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Fail to start Linux Mint 12 64-bit

Post by afx »

Guess you desktop environment is not where the package expects it.
Go find the desktop file and put it in the right place for your environment.

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
mttr
Posts: 4
Joined: Mon May 07, 2012 2:55 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
processor: I7-2600
ram: 16gb

Re: Fail to start Linux Mint 12 64-bit

Post by mttr »

Not sure i understand.
When a package .deb installs it also installes the icon in the panel under the appropriat headings in this case under aplications/graphics
Why on earth is ASP not putting the icon in its proper place
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: Fail to start Linux Mint 12 64-bit

Post by afx »

mttr wrote:When a package .deb installs it also installes the icon in the panel under the appropriat headings in this case under aplications/graphics
Nope.
It puts a desktop file in the appropriate place on the file system. For debian packages that is:
/usr/share/applications/AfterShotPro.desktop
This is the place where standard GUIs like Gnome or XFCE pick it up from to display launch icons in their menus.
If your system does not, I suggest checking your system...

You might find an error message in .xsession-errors in your home directory.

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Post Reply