• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux libmysqlclient-dev - debian stretch

binny

Member
Joined
Mar 16, 2017
Messages
65
Reaction score
12
I need to install some libraries to compile a 0.4 server on my debian stretch...

But it missing some packages that i need to compile:

Code:
apt-get install autoconf build-essential pkg-config automake libboost-all-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev libssl-dev libsqlite3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libmysqlclient-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libmysqlclient-dev' has no installation candidate

What command should i do to install a mysql lib, i can not to compile without it...
 
Solution
I'm sorry to this long and thank you to still help us...
I tried what u said, change the makefiles and insert a make...
But show me a lot errors:
hastebin
i've done some google, apparently it's a bug of 1.49 boost, where boost overwrite TIME_UTC macro from glibc, if you delete this macro from /usr/include/boost/thread/xtime.hpp might work, although i've asked a friend that has more experience with boost, he said that old boost libraries still compatible with c++03 programs, so my bad, you actually don't need to downgrade your boost, you can remove the oldoldstable repositories from your source list, and get current boost version, use aptitude again to fix dependencies.
# apt-get remove --purge libboost1.49-all-dev
# apt-get...
See what you get from :
Code:
apt-cache search libmysqlclient
apt-cache search libmysqlclient
libmariadbclient-dev-compat - MariaDB database development files (libmysqlclient compatibility)
libglpk40 - linear programming kit with integer (MIP) support
libcrypt-mysql-perl - Perl module to emulate the MySQL PASSWORD() function
default-libmysqlclient-dev - MySQL database development files (metapackage)

Should i do apt-get install default-libmysqlclient-dev ?
 
apt-cache search libmysqlclient
libmariadbclient-dev-compat - MariaDB database development files (libmysqlclient compatibility)
libglpk40 - linear programming kit with integer (MIP) support
libcrypt-mysql-perl - Perl module to emulate the MySQL PASSWORD() function
default-libmysqlclient-dev - MySQL database development files (metapackage)

Should i do apt-get install default-libmysqlclient-dev ?
give it a try
 
./configure --enable-mysql --enable-root-permission --enable-server-diag
Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for ceil... yes
checking for floor... yes
checking for ftime... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for memset... yes
checking for pow... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.6.5... yes (version 2.9.4)
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmpz_init2 in -lgmp... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for main in -lz... yes
checking for main in -lboost_thread-gcc-mt... no
checking for main in -lboost_thread-mt... no
checking for main in -lboost_thread... yes
checking for main in -lboost_regex-gcc-mt... no
checking for main in -lboost_regex-mt... no
checking for main in -lboost_regex... yes
checking for main in -lboost_system-gcc-mt... no
checking for main in -lboost_system-mt... no
checking for main in -lboost_system... yes
checking for main in -lboost_date_time-gcc-mt... no
checking for main in -lboost_date_time-mt... no
checking for main in -lboost_date_time... yes
checking for main in -lboost_filesystem-gcc-mt... no
checking for main in -lboost_filesystem-mt... no
checking for main in -lboost_filesystem... yes
checking boost/asio.hpp usability... yes
checking boost/asio.hpp presence... yes
checking for boost/asio.hpp... yes
checking boost/tr1/unordered_set.hpp usability... yes
checking boost/tr1/unordered_set.hpp presence... yes
checking for boost/tr1/unordered_set.hpp... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/bn.h usability... yes
checking openssl/bn.h presence... yes
checking for openssl/bn.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/sha.h usability... yes
checking openssl/sha.h presence... yes
checking for openssl/sha.h... yes
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking for main in -lcrypto... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LUA... yes
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking for main in -lmysqlclient... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

theforgottenserver 0.4

Server diagnostics.......... : yes
Login server mode........... : no
OTAdmin protocol............ : no
Root run permission......... : yes
Login server mode........... : no
Home-directory configuration : no
OTServ custom allocator..... : no
Debug build................. : no
Using LuaJIT................ : no

Build with MySQL............ : yes
Build with SQLite........... : no

Configure complete, now you may type './build.sh'.

Error:
hastebin

bump

bump
 
Last edited by a moderator:
E: Package 'libmysqlclient-dev' has no installation candidate
in debian 9 mysql was replaced with mariadb, it should be compatible tho.

# apt install libmariadbclient-dev

probably you will still getting errors with linking because it will not recognize as mariadb, you might want create a symbolic link to mysql.

# ln -s /usr/lib/x86_64-linux-gnu/libmariadbclient.so /usr/lib/x86_64-linux-gnu/libmysqlclient.so
 
in debian 9 mysql was replaced with mariadb, it should be compatible tho.

# apt install libmariadbclient-dev

probably you will still getting errors with linking because it will not recognize as mariadb, you might want create a symbolic link to mysql.

# ln -s /usr/lib/x86_64-linux-gnu/libmariadbclient.so /usr/lib/x86_64-linux-gnu/libmysqlclient.so


Not work bro...

I think cant move because looks like exist...
Code:
root@brabbt:/home/binny/Documents/otserver/3777/src# apt install libmariadbclient-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libmariadbclient-dev is already the newest version (10.1.26-0+deb9u1).
libmariadbclient-dev set to manually installed.
The following packages were automatically installed and are no longer required:
  blueman cinnamon-common cinnamon-l10n cjs gconf2 gir1.2-appindicator3-0.1
  gir1.2-cmenu-3.0 gir1.2-javascriptcoregtk-3.0 gir1.2-keybinder-3.0
  gir1.2-meta-muffin-0.0 gksu libappindicator3-1 libcjs0 libdbusmenu-gtk3-4
  libgksu2-0 libglewmx1.13 libindicator3-7 libjavascriptcoregtk-3.0-0
  libkeybinder-3.0-0 libnemo-extension1 metacity-common nemo nemo-data
  nemo-fileroller python-dbus python-imaging python-pam python-pexpect
  python-pil python-ptyprocess python-pyinotify
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@brabbt:/home/binny/Documents/otserver/3777/src# ln -s /usr/lib/x86_64-linux-gnu/libmariadbclient.so /usr/lib/x86_64-linux-gnu/libmysqlclient.so
ln: failed to create symbolic link '/usr/lib/x86_64-linux-gnu/libmysqlclient.so': File exists

So...
Compiling / Errors:
hastebin

What should i do?
 
What should i do?
these compilation erros doesn't relate to mysql, your compiler is trying to use some new version of c++, you can try using flag -std=c++03, i think you will still getting errors due boost version, so probably you will need to compile a boost older version too.
 
Last edited:
these compilation erros doesn't relate to mysql, your compiler is trying to use some new version of c++, you can try using flag -std=c++03, i think you will still getting errors due boost version, so probably you will need to compile boosted older version also.

Is this the way to set was parameter?
Code:
./autogen.sh
./configure --enable-mysql --enable-root-permission --enable-server-diag
./build.sh -std=c++03
?
 
these compilation erros doesn't relate to mysql, your compiler is trying to use some new version of c++, you can try using flag -std=c++03, i think you will still getting errors due boost version, so probably you will need to compile a boost older version too.

Code:
...
include/c++/6/ostream:508:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)
     operator<<(basic_ostream<char, _Traits>& __out, char __c)
     ^~~~~~~~
/usr/include/c++/6/ostream:508:5: note:   template argument deduction/substitution failed:
protocolgame.cpp:967:57: note:   cannot convert ‘hex’ (type ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’) to type ‘char’
     s << player->getName() << " sent unknown byte: " << hex << std::endl;
                                                         ^~~
In file included from /usr/include/c++/6/iterator:64:0,
                 from /usr/include/boost/regex/v4/regex_workaround.hpp:32,
                 from /usr/include/boost/regex/v4/regex.hpp:32,
                 from /usr/include/boost/regex.hpp:31,
                 from otpch.h:36,
                 from protocolgame.cpp:17:
/usr/include/c++/6/ostream:502:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
     operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
     ^~~~~~~~
/usr/include/c++/6/ostream:502:5: note:   template argument deduction/substitution failed:
protocolgame.cpp:967:57: note:   cannot convert ‘hex’ (type ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’) to type ‘char’
     s << player->getName() << " sent unknown byte: " << hex << std::endl;
                                                         ^~~
In file included from /usr/include/c++/6/iterator:64:0,
                 from /usr/include/boost/regex/v4/regex_workaround.hpp:32,
                 from /usr/include/boost/regex/v4/regex.hpp:32,
                 from /usr/include/boost/regex.hpp:31,
                 from otpch.h:36,
                 from protocolgame.cpp:17:
/usr/include/c++/6/ostream:497:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
     operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
     ^~~~~~~~
/usr/include/c++/6/ostream:497:5: note:   template argument deduction/substitution failed:
protocolgame.cpp:967:57: note:   deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘std::__cxx11::basic_stringstream<char>’)
     s << player->getName() << " sent unknown byte: " << hex << std::endl;
                                                         ^~~
In file included from /usr/include/c++/6/bits/ios_base.h:46:0,
                 from /usr/include/c++/6/ios:42,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iterator:64,
                 from /usr/include/boost/regex/v4/regex_workaround.hpp:32,
                 from /usr/include/boost/regex/v4/regex.hpp:32,
                 from /usr/include/boost/regex.hpp:31,
                 from otpch.h:36,
                 from protocolgame.cpp:17:
/usr/include/c++/6/system_error:209:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)
     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
     ^~~~~~~~
/usr/include/c++/6/system_error:209:5: note:   template argument deduction/substitution failed:
protocolgame.cpp:967:57: note:   cannot convert ‘hex’ (type ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’) to type ‘const std::error_code&’
     s << player->getName() << " sent unknown byte: " << hex << std::endl;
                                                         ^~~
In file included from /usr/include/c++/6/memory:82:0,
                 from /usr/include/boost/function/function_base.hpp:16,
                 from /usr/include/boost/function/detail/prologue.hpp:17,
                 from /usr/include/boost/function.hpp:24,
                 from otpch.h:34,
                 from protocolgame.cpp:17:
/usr/include/c++/6/bits/shared_ptr.h:66:5: note: candidate: template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)
     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
     ^~~~~~~~
/usr/include/c++/6/bits/shared_ptr.h:66:5: note:   template argument deduction/substitution failed:
protocolgame.cpp:967:57: note:   ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’ is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’
     s << player->getName() << " sent unknown byte: " << hex << std::endl;
                                                         ^~~
In file included from /usr/include/c++/6/string:52:0,
                 from /usr/include/unicode/std_string.h:33,
                 from /usr/include/unicode/unistr.h:31,
                 from /usr/include/unicode/strenum.h:14,
                 from /usr/include/unicode/uenum.h:24,
                 from /usr/include/unicode/ucnv.h:51,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:810,
                 from /usr/include/libxml2/libxml/globals.h:18,
                 from /usr/include/libxml2/libxml/threads.h:35,
                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
                 from otpch.h:28,
                 from protocolgame.cpp:17:
/usr/include/c++/6/bits/basic_string.h:5340:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator<<(basic_ostream<_CharT, _Traits>& __os,
     ^~~~~~~~
/usr/include/c++/6/bits/basic_string.h:5340:5: note:   template argument deduction/substitution failed:
protocolgame.cpp:967:57: note:   ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
     s << player->getName() << " sent unknown byte: " << hex << std::endl;
                                                         ^~~
protocolgame.cpp: In member function ‘void ProtocolGame::AddCreatureSpeak(NetworkMessage_ptr, const Creature*, SpeakClasses, std::__cxx11::string, uint16_t, uint32_t, Position*, ProtocolGame*)’:
protocolgame.cpp:2971:137: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
   if((speaker && (type != SPEAK_RVR_ANSWER ) && (!speaker->isAccountManager()) && (!speaker->hasCustomFlag(PlayerCustomFlag_HideLevel)) && ((pg == NULL)) || ((pg != NULL) && (!pg->getIsCast()))))
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/math/policies/policy.hpp:29:0,
                 from /usr/include/boost/math/special_functions/math_fwd.hpp:28,
                 from /usr/include/boost/math/special_functions/sign.hpp:17,
                 from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34,
                 from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63,
                 from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:54,
                 from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:42,
                 from /usr/include/boost/lexical_cast.hpp:32,
                 from player.cpp:39:
/usr/include/c++/6/math.h:107:12: error: ‘constexpr float std::round(float)’ conflicts with a previous declaration
 using std::round;
            ^~~~~
In file included from map.h:20:0,
                 from creature.h:28,
                 from player.h:23,
                 from player.cpp:20:
tools.h:99:9: note: previous declaration ‘int32_t round(float)’
 int32_t round(float v);
         ^~~~~
mv -f .deps/quests.Tpo .deps/quests.Po

Still got a error because of boost version, how to compile a old one?
 
you will have to go to boost version history and download the sources from there, usually inside of root folder there is file with instructions to get sources compiled.

I've formated my computer to make all steps again so i install the dependences again:
Code:
apt-get install autoconf build-essential pkg-config automake libboost-all-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libssl-dev libsqlite3-dev
apt-get install default-libmysqlclient-dev

Changed the MakeFiles...

But still left boost stuff, could you tell how to do? I scared to do some shit...
 
But still left boost stuff, could you tell how to do? I scared to do some shit...
first thing, you shouldn't install libboost-all-dev if you want an older version, because auto tools will use this version to link, second compiling boost is the last thing you should try, a saner solution would get boost from squeezy repository, worth a note that this workaround will only work until debian buster release, so better update your things, first remove boost you've installed before
Code:
# apt remove --purge libboost-all-dev
add squeezy repos
Code:
# editor /etc/apt/sources.list
drop this line somewhere in file you're editing
Code:
deb http://deb.debian.org/debian oldoldstable main
then
Code:
# apt update
# apt install libboost1.49-all-dev
and hopefully auto tools will detect this boost instead, good lucky
edit: notice that to these changes take effect you may generate your makefile once again with auto tools
 
first thing, you shouldn't install libboost-all-dev if you want an older version, because auto tools will use this version to link, second compiling boost is the last thing you should try, a saner solution would get boost from squeezy repository, worth a note that this workaround will only work until debian buster release, so better update your things, first remove boost you've installed before
Code:
# apt remove --purge libboost-all-dev
add squeezy repos
Code:
# editor /etc/apt/sources.list
drop this line somewhere in file you're editing
Code:
deb http://deb.debian.org/debian oldoldstable main
then
Code:
# apt update
# apt install libboost1.49-all-dev
and hopefully auto tools will detect this boost instead, good lucky
edit: notice that to these changes take effect you may generate your makefile once again with auto tools

Every squeeze package I tried to use, returns me error, what should u recommend, thats my sourcelists:
Code:
#------------------------------------------------------------------------------#
#                   OFFICIAL DEBIAN REPOS                   
#------------------------------------------------------------------------------#
deb http://security.debian.org/debian-security stretch/updates main contrib
deb-src http://security.debian.org/debian-security stretch/updates main contrib


deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free

deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free

#------------------------------------------------------------------------------#
#                      UNOFFICIAL  REPOS                       
#------------------------------------------------------------------------------#
 
Every squeeze package I tried to use, returns me error, what should u recommend, thats my sourcelists:
if it's your source.list, then you didnt have added squeeze repositories (oldoldstable), you have to paste deb "http://deb.debian.org/debian oldoldstable main" anywhere is this file, and apt update, then you will be able to get packages from squeeze
 
if it's your source.list, then you didnt have added squeeze repositories (oldoldstable), you have to paste deb "http://deb.debian.org/debian oldoldstable main" anywhere is this file, and apt update, then you will be able to get packages from squeeze

Oh i'm sorry, i trought oldoldstable was a example to i can use a old...
So i was trying to use the squeeze hahaha

Adding oldold and trying to install return me this:
Code:
apt install libboost1.49-all-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libboost1.49-all-dev : Depends: libboost1.49-dev but it is not going to be installed
                        Depends: libboost-chrono1.49-dev but it is not going to be installed
                        Depends: libboost-date-time1.49-dev but it is not going to be installed
                        Depends: libboost-filesystem1.49-dev but it is not going to be installed
                        Depends: libboost-graph1.49-dev but it is not going to be installed
                        Depends: libboost-graph-parallel1.49-dev but it is not going to be installed
                        Depends: libboost-iostreams1.49-dev but it is not going to be installed
                        Depends: libboost-locale1.49-dev but it is not going to be installed
                        Depends: libboost-math1.49-dev but it is not going to be installed
                        Depends: libboost-mpi1.49-dev but it is not going to be installed
                        Depends: libboost-mpi-python1.49-dev but it is not going to be installed
                        Depends: libboost-program-options1.49-dev but it is not going to be installed
                        Depends: libboost-python1.49-dev but it is not going to be installed
                        Depends: libboost-random1.49-dev but it is not going to be installed
                        Depends: libboost-regex1.49-dev but it is not going to be installed
                        Depends: libboost-serialization1.49-dev but it is not going to be installed
                        Depends: libboost-signals1.49-dev but it is not going to be installed
                        Depends: libboost-system1.49-dev but it is not going to be installed
                        Depends: libboost-test1.49-dev but it is not going to be installed
                        Depends: libboost-thread1.49-dev but it is not going to be installed
                        Depends: libboost-timer1.49-dev but it is not going to be installed
                        Depends: libboost-wave1.49-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
 
Adding oldold and trying to install return me this:
that's weird, looks like apt-get don't purged your old libs, usually it works, well, you might try is installing aptitude if don't have yet, it uses a different algorithm to resolve dependencies, so try doing this:
# apt-get install aptitude
# aptitude install libboost1.49-all-dev
hopefully aptitude will figure out better than apt-get, otherwise we will have a bad time dealing with dpkg
 

Similar threads

Back
Top