libtool: error: '/home/rohit/anaconda3/lib/libpixman-1.la' is not a valid libtool archive
This is the error which im getting in my terminal after i execute the command $ make, ./configure seems to be working fine and had displayed everything is fine, im on ubuntu 18.04, using anaconda, my anaconda is in home in a folder called anaconda3, I tried lot of ways to install this but none seem to work, i tried adding the lines in sources.list, but it didn't work either and read somewhere for anaconda i have to compile it through manual, i have all the pre-req libraries installed, or that's what I feel, the anaconda installation by creating a new environment written by some other guy is not working for me, I have 24 GB of Ram in my Laptop hence I can afford to compile no problem, I just want to make it work so I can work on my project.
CXX graph_tree_cts.lo
CXXLD libgraph_tool_draw.la
/bin/grep: /home/rohit/anaconda3/lib/libpixman-1.la: No such file or directory
/bin/sed: can't read /home/rohit/anaconda3/lib/libpixman-1.la: No such file or directory
libtool: error: '/home/rohit/anaconda3/lib/libpixman-1.la' is not a valid libtool archive
Makefile:544: recipe for target 'libgraph_tool_draw.la' failed
make[4]: *** [libgraph_tool_draw.la] Error 1
make[4]: Leaving directory '/home/rohit/graph-tool-2.28/src/graph/draw'
Makefile:809: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/rohit/graph-tool-2.28/src/graph'
Makefile:422: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/rohit/graph-tool-2.28/src'
Makefile:599: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/rohit/graph-tool-2.28'
Makefile:486: recipe for target 'all' failed
make: *** [all] Error 2
Please refer the attached screenshot for the file which the logs are referring to, i think the extension is .a and not .la could that be a problem? if yes how can I fix it? I have tried to repeat the process twice and have got the same results once with only $ make and other time with $ sudo make