I am trying to print a file using cups and getting a symbol not found error.
yoprinter: symbol lookup error: yoprinter: undefined symbol: pdftopdf
yoprinter: symbol lookup error: yoprinter: undefined symbol: ghostscript
yoprinter is basically the print queue name I am trying to print to.
cups version: 2.3.3
OS: ubuntu 20.04
file: I am getting this error with every file I am trying to print
The bug was related to configuration issue. I installed both the cups and cups-filters in my local dir /home/surajkulriya/cupsContent and started cups-daemon using sudo /home/surajkulriya/cupsContent/sbin/cupsd -f and it worked well without any error.
Related
When I try to run the Gazebo, the error:
gazebo: symbol lookup error: /lib/x86_64-linux-gnu/libfreeimage.so.3: undefined symbol: jpeg_read_icc_profile, version LIBJPEG_8.0
Then I try to find libfreeimage.so.3 in the folder /lib/x86_64-linux-gnu, it is there but the problem still occurs.
So are there some dependencies missing or the path is wrong, as the Gazebo could run without any problem before.
I am unable to use ejabberd_auth in my helloworld project.
-behaviour(ejabberd_auth).
...
....
try_register(<<"username">>, <<"example.com">>, <<"secret_password">>).
With that I get the error warning:
helloworld.erl:15: Warning: behaviour ejabberd_auth undefined
-import(ejabberd_auth, [try_register/3]).
...
....
try_register(<<"username">>, <<"example.com">>, <<"secret_password">>).
With this I get:
exception error: undefined function ejabberd_auth:try_register/3
Why am I unable to access ejabberd_auth?
I am using IntelliJ Idea, with the Erlang plugin installed.
Thank you all in advance.
UPDATE:
I'm on Ubuntu 16.04 LTS
I can get you past that error. Here's how...
When I compile a module in the erlang shell, the compiler creates a .beam file in the same directory, which allows me to call functions defined in the module. In your case, if you cd into the directory:
.../ejabberd/ebin
you will see all the ejabberd .beam files, including ejabberd_auth.beam. If you start an erlang shell in that directory, then issue your function call (don't compile anything), you won't get that error anymore.
But, then I get the error:
exception error: undefined function jid:nodeprep/1
in function ejabberd_auth:validate_credentials/3 (src/ejabberd_auth.erl, line 796)
in call from ejabberd_auth:try_register/3 (src/ejabberd_auth.erl, line`
There is no jid.beam file in that directory. But:
~/Downloads/ejabberd$ find . -name jid.beam
./deps/xmpp/ebin/jid.beam
You are going to have to figure out how to compile your module so that all the ejabberd modules are available to your program. See: ejabberd how to compile new module.
I am unable to use ejabberd_auth in my helloworld project.
Are you following a tutorial somewhere?
I installed Lua and libao via Homebrew on my mac (10.12 sierra) and ao via luarocks.
Now when I try to run the ao_example.lua file I get the following error:
lua: error loading module 'ao' from file '/usr/local/lib/lua/5.2/ao.so':
dlopen(/usr/local/lib/lua/5.2/ao.so, 6): Symbol not found: _luaL_register
Referenced from: /usr/local/lib/lua/5.2/ao.so
Expected in: flat namespace
in /usr/local/lib/lua/5.2/ao.so
As far as I understand ao from luarocks expects Lua Version 5.1 whereas I have 5.2 installed.
I'm very unexperienced with Lua and have no idea how to solve this problem.
I am new to opencv and i am trying to install opencv-3.0.0-beta on ubuntu 14.04. When running make command, I get an error at 54%.I followed the same steps mentioned in http://docs.opencv.org/trunk/doc/tutorials/introduction/linux_install/linux_install.html. but I still get an error.
Below is the error message I'm getting.
/usr/bin/ld:
../../../3rdparty/ippicv/unpack/ippicv_lnx/lib/ia32/libippicv.a(jmp_ippiResizeGetBufferSize_16s_as.s.o):
relocation R_386_GOTOFF against undefined symbol
`ippicvJumpIndexForMergedLibs' can not be used when making a shared
object /usr/bin/ld: final link failed: Bad value collect2: error: ld
returned 1 exit status make[2]: * [lib/libopencv_imgproc.so.3.0.0]
Error 1 make1: [modules/imgproc/CMakeFiles/opencv_imgproc.dir/all]
Error 2 make: ** [all] Error 2
Please help in solving it.
Thanks
It looks like your IPP configuration bugs. If you don't need IPP, you might want to rerun the cmake command with this option WITH_IPP=OFF.
Further reading here about deactivate IPP and here to properly configure IPP.
Using Ruby on Rails, I was trying to upload a photo on my localhost. However, it seems like I can't upload and gets an error:
"Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: Command ("identify -ping /var/folders/rc/zy5w8vkd3m341pndp2d546nm0000gn/T/mini_magick20130103-78039-1m8b1lt.png") failed: {:status_code=>nil, :output=>"dyld: Library not loaded: /usr/X11/lib/libfreetype.6.dylib\n Referenced from: /usr/local/bin/identify\n Reason: Incompatible library version: identify requires version 14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0\n"}"
I am using Homebrew. please help me with this :(
Softwares:Mac OS 10.7.2 (Lion), Xcode 4.1, ImageMagick-6.8.0-10
I met a same error and I used below commands to fix this bug:
jbao009-108: sudo find / -name "libfreetype.6.dylib" -print
/Applications/Inkscape.app/Contents/Resources/lib/libfreetype.6.dylib
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
/Library/Frameworks/GStreamer.framework/Versions/0.10/lib/libfreetype.6.dylib
/opt/X11/lib/libfreetype.6.dylib
/usr/local/Cellar/freetype/2.4.10/lib/libfreetype.6.dylib
/usr/local/Cellar/freetype/2.4.11/lib/libfreetype.6.dylib
/usr/local/Cellar/freetype/2.5.3_1/lib/libfreetype.6.dylib
/usr/local/lib/libfreetype.6.dylib
jbao009-108: sudo cp /usr/local/Cellar/freetype/2.5.3_1/lib/libfreetype.6.dylib /usr/local/lib/
These 2 commands will find the latest freetype and copy to system lib