Jump to content

error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory


Charrua
 Share

Recommended Posts

I'm new here. in linux

I started a marble, project, publish it as standalone, and run it by double clicking on the marble file inside the marble folder on the desktop, no problem.

I started a "tutorial samples" project, write my own app.h and app.cpp, did not change main.cpp

I run it form the editor, and from code blocks without any problem.

I publish the project as stand alone and when i double click the pj01 file on the pj01 folder on the desktop, nothing happens, if I right click and select run, same result, then i open a terminal and when i type ./pj01 and hit enter the error message appears.

Any advise?

thank's

Juan

Paren el mundo!, me quiero bajar.

Link to comment
Share on other sites

Not sure if this will help you out, but here is a shell script that I use:

#!/bin/bash

export LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}"

NAME="$(basename $PWD)"
OPT="$1"

if [ "$OPT" == "debug" ]; then
    exec "./${NAME}.debug" "$@"
else
    exec "./${NAME}" "$@"
fi

The default is to use a release compile and the debug runs [PROJECT_NAME].debug. Give that a go. ;)

  • Upvote 2

SpEcIeS

Link to comment
Share on other sites

The default template includes an .sh file with these contents:

export LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}"
exec "./$PROJECT_NAME" "$@"

That should do it.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

3 hours ago, Josh said:

The default template includes an .sh file with these contents:


export LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}"
exec "./$PROJECT_NAME" "$@"

That should do it.

didn't see it :)

thank's

Paren el mundo!, me quiero bajar.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...