pagespeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] stevenzhu25 commented on issue #1532: NGX Pagespeed library can't be found
Date Thu, 01 Jan 1970 00:00:00 GMT
stevenzhu25 commented on issue #1532: NGX Pagespeed library can't be found
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1532#issuecomment-363287993
 
 
   Hi,
   
   Here's the last part of err file. (The part PSOL ends)
   Seems they can't find -luuid
   
   P.S. it's wierd too.. (I also upgrade nginx on DigitalOcean Instances and worked fine.
   
   System Environment:
   Openvz, Centos 7, 2GB Memory.
   
   
   Thank you
   ```
   ----------------------------------------
   checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE)
   
   
   ----------------------------------------
   checking for openat(), fstatat()
   
   
   ----------------------------------------
   checking for getaddrinfo()
   
   
   ----------------------------------------
   checking for psol
   
   /usr/bin/ld: cannot find -luuid
   collect2: error: ld returned 1 exit status
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   
   #include "pagespeed/kernel/base/string.h"
   #include "pagespeed/kernel/base/string_writer.h"
   #include "pagespeed/kernel/base/null_message_handler.h"
   #include "pagespeed/kernel/html/html_parse.h"
   #include "pagespeed/kernel/html/html_writer_filter.h"
   
   
   int main() {
       
   
     GoogleString output_buffer;
     net_instaweb::StringWriter write_to_string(&output_buffer);
   
     net_instaweb::NullMessageHandler handler;
     net_instaweb::HtmlParse html_parse(&handler);
     net_instaweb::HtmlWriterFilter html_writer_filter(&html_parse);
   
     html_writer_filter.set_writer(&write_to_string);
     html_parse.AddFilter(&html_writer_filter);
   
     html_parse.StartParse("http:example.com");
     html_parse.ParseText(
         "<html ><body ><h1 >Test</h1 ><p>Test Text</p></body></html>\n");
     html_parse.FinishParse();
   
     printf("parsed as: %s", output_buffer.c_str());
       return 0;
   }
   
   ----------
   cc -D_GLIBCXX_USE_CXX11_ABI=0 --std=c++11 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/third_party/chromium/src
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/third_party/google-sparsehash/src/src
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/third_party/google-sparsehash/gen/arch/linux/x64/include
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/third_party/grpc/src/include
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/third_party/protobuf/src/src
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/third_party/re2/src
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/out/Release/obj/gen
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/out/Release/obj/gen/protoc_out/instaweb
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/third_party/apr/src/include
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/third_party/aprutil/src/include
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/third_party/apr/gen/arch/linux/x64/include
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/third_party/aprutil/gen/arch/linux/x64/include
-I /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/include/url -o nginx-1.13.8/autotest
nginx-1.13.8/autotest.cc /home/stevenchu/./incubator-pagespeed-ngx-1.13.35.2-stable/psol/lib/Release/linux/x64/pagespeed_automatic.a
-lstdc++ -lrt -pthread -lm -luuid
   ----------
   
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message